[Seaside] CSS issue with components on a menu

Julian Fitzell jfitzell at gmail.com
Thu Apr 9 10:57:29 UTC 2009


But note it will also only call #updateStates: on that one so you can't
modify backtracked state for any of the non-current components during your
callbacks.

Julian

On Tue, Apr 7, 2009 at 10:44 PM, Lukas Renggli <renggli at gmail.com> wrote:

> 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
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090409/43b15919/attachment.htm


More information about the seaside mailing list