Hopefully, someone will have a better idea than mine.

You can bind your shell component to a component (like your border) to get
it's stylesheets. Your border could have a method that reads a list
property and converts it into a stylesheet asset array. Your border
component could store a list of active stylesheets for the request and
your components could add stylesheets to this list.

Somehow, you need to pass this list around from your shell component to
your other components.

Please someone just in and join in the discussion!





> Hi,
>
> I have multiple stylesheets that define the way a particular box can
> look on my page.  I have a component that has a need of selecting
> which stylesheet to use based on a property of the component's class.
> Only the color scheme of the box will change based on the stylesheet.
> Has anyone done something like this before?  What is the best way of
> including a variable stylesheet specified in a component into the page
> header?
>
> Thanks,
> Anthony
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to