[Seaside] CSS issue with components on a menu

Lukas Renggli renggli at gmail.com
Tue Apr 7 20:44:40 UTC 2009


I guess you return all possible components as children of the menu?
Only return the visible one, and then Seaside will call #updateRoot:
only on that one.

Lukas

On Tue, Apr 7, 2009 at 9:43 PM, Sebastian Van Lacke
<svanlacke at caesarsystems.com> wrote:
> Hi people, I have a menu component that renders the selected component. I
> need to include a stylesheet depending on which component is selected.
> Seaside includes all the stylesheets of all the components instead of the
> selected one's (I have redefine the #updateRoot method in each component to
> include the correspondent stylesheet ) and some css properties overlap.
> There is any way to avoid that, without changing the html code or the
> stylesheets?
>
> Thanks!!
>
> Sebastian
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>



-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list