You got it! (well done)<br><br><div class="gmail_quote">On Tue, Apr 13, 2010 at 12:00 AM, Mortensen Sigrid E. <span dir="ltr"><<a href="mailto:sigrid@selfhelpsoftware.com">sigrid@selfhelpsoftware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Never mind. (I knew as soon as I sent the message I'd figure it out!)<br>
<br>
It has to do with how I'm dynamically adding child components to the parent component. At the time the #style method is called, the child I've added isn't in the children collection, so the #style method isn't called for that child. Then I add the component, and it's in the collection, but the style method isn't called again until I refresh the page.<br>
<br>
Tricky.<br>
<font color="#888888"><br>
-- S.<br>
</font><div><div></div><div class="h5"><br>
<br>
On Apr 12, 2010, at 6:50 PM, Mortensen Sigrid E. wrote:<br>
<br>
> Hi All,<br>
><br>
> Any idea why a style would not be applied to a component until the page is reloaded?<br>
><br>
> When I first click on an anchor that shows the component, the style is not applied. If I click the reload button on the browser, the style shows up. It was impossible to figure out what was going on by toggling halos, because that reloads the page, but I can see it clearly in Firebug. When the component is first rendered, firebug shows no style directly associated with that component (it only shows a style inherited from the containing div), but if I reload the page, it's there.<br>
><br>
> This is on a div that's buried deep within another div, in a form, in a div, etc., in td in a tr of a tbody, etc.<br>
><br>
> I am using #style methods, which I realize is no longer the recommended procedure, but it has always worked up until now.<br>
><br>
> Thanks in advance for any insights.<br>
> -- Sigrid.<br>
><br>
> _______________________________________________<br>
> seaside mailing list<br>
> <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br>