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">&lt;<a href="mailto:sigrid@selfhelpsoftware.com">sigrid@selfhelpsoftware.com</a>&gt;</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&#39;d figure it out!)<br>
<br>
It has to do with how I&#39;m dynamically adding child components to the parent component.  At the time the #style method is called, the child I&#39;ve added isn&#39;t in the children collection, so the #style method isn&#39;t called for that child.  Then I add the component, and it&#39;s in the collection, but the style method isn&#39;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>
&gt; Hi All,<br>
&gt;<br>
&gt; Any idea why a style would not be applied to a component until the page is reloaded?<br>
&gt;<br>
&gt; 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&#39;s there.<br>


&gt;<br>
&gt; This is on a div that&#39;s buried deep within another div, in a form, in a div, etc., in td in a tr of a tbody, etc.<br>
&gt;<br>
&gt; I am using #style methods, which I realize is no longer the recommended procedure, but it has always worked up until now.<br>
&gt;<br>
&gt; Thanks in advance for any insights.<br>
&gt; -- Sigrid.<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt; <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>