But note it will also only call #updateStates: on that one so you can&#39;t modify backtracked state for any of the non-current components during your callbacks.<br><br>Julian<br><br><div class="gmail_quote">On Tue, Apr 7, 2009 at 10:44 PM, Lukas Renggli <span dir="ltr">&lt;<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I guess you return all possible components as children of the menu?<br>
Only return the visible one, and then Seaside will call #updateRoot:<br>
only on that one.<br>
<br>
Lukas<br>
<div><div></div><div class="h5"><br>
On Tue, Apr 7, 2009 at 9:43 PM, Sebastian Van Lacke<br>
&lt;<a href="mailto:svanlacke@caesarsystems.com">svanlacke@caesarsystems.com</a>&gt; wrote:<br>
&gt; Hi people, I have a menu component that renders the selected component. I<br>
&gt; need to include a stylesheet depending on which component is selected.<br>
&gt; Seaside includes all the stylesheets of all the components instead of the<br>
&gt; selected one&#39;s (I have redefine the #updateRoot method in each component to<br>
&gt; include the correspondent stylesheet ) and some css properties overlap.<br>
&gt; There is any way to avoid that, without changing the html code or the<br>
&gt; stylesheets?<br>
&gt;<br>
&gt; Thanks!!<br>
&gt;<br>
&gt; Sebastian<br>
&gt;<br>
</div></div>&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>
&gt;<br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Lukas Renggli<br>
<a href="http://www.lukas-renggli.ch" target="_blank">http://www.lukas-renggli.ch</a><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>
</font></blockquote></div><br>