What's the textbook/preferred/whatever way that a component gets
its CSS onto a page? So far as I can tell, I can:

 

            Put it in a @Shell component, but that Shell only takes one CSS,
so if a page requires > 1 css file, the shell doesn't work, does it?

            Manually link them in via any tags, which seems to work for me.

            Manually add a <script></script> block to your .html file and
cut/paste the css in.

            Cut/Paste all component styles into one "master" CSS file and
then link that one file via the @Shell.

 

            All of these approaches though require that the programmer
(that's me), not only embed the component on the page, but also use one of
the aforementioned methods to embed that components .css as well (assuming
the component like contrib.:Palette uses its own CSS). 

 

            Is there a way I can set up my page such that the component can
embed its own css? Or is using a component that has its own css always going
to be a two step process?

 

            --- Pat

 

            PS Tapestry 3.0.3.

Reply via email to