You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by bu...@apache.org on 2004/07/29 23:10:41 UTC

DO NOT REPLY [Bug 30393] - Addition of a simple way to get component CSS stylesheets into an overall page

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30393>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30393

Addition of a simple way to get component CSS stylesheets into an overall page





------- Additional Comments From filip@stubkjaer-adamsen.dk  2004-07-29 21:10 -------
I thought about something similar earlier today. My idea, which is very similar 
to yours, is to create a @Style component taking one required parameter (an 
IAsset, I suppose), the style sheet to be used, and an optional parameter to 
control the media setting. This component, coupled with some logic in the 
@Shell component, would allow us to specify stylesheets without hassle, just as 
you described.

I must say that I prefer the component-based approach to relying on predefined 
page properties. I believe it would be trivial to implement. Off course the 
stylesheet(s) specified in the @Shell should be added to the response as the 
last one(s), in order to satisfy the cascade. This way, we'd be able to 
override the style sheets specified by the components in an easy way.

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org