You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by jasono_tapestry <ja...@myway.com> on 2003/11/06 01:15:49 UTC
Multiple stylesheets?
I see in a Shell component I can specify a style sheet.
You typically map the stylesheet to an asset such as the example given in the component reference -
<private-asset name="stylesheet" resource-path="style/style.css"/>
However, how do I use the stylesheets parameter? I'm still trying to figure out how Tapestry works and this has me a bit stumped.
_______________________________________________
No banners. No pop-ups. No kidding.
Introducing My Way - http://www.myway.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
RE: Multiple stylesheets?
Posted by David Solis <ds...@legosoft.com.mx>.
Something like this:
<html jwcid="@Shell"
stylesheets="ognl:{assets.stylesheet_1,assets.stylesheet_2}"
title="Cualquier Titulo">
.............
.............
</html>
Regards
D.
> -----Original Message-----
> From: jasono_tapestry [mailto:jasono_tapestry@myway.com]
> Sent: Wednesday, November 05, 2003 6:16 PM
> To: tapestry-user@jakarta.apache.org
> Subject: Multiple stylesheets?
>
>
> I see in a Shell component I can specify a style sheet.
>
> You typically map the stylesheet to an asset such as the example given
in
> the component reference -
>
> <private-asset name="stylesheet" resource-path="style/style.css"/>
>
> However, how do I use the stylesheets parameter? I'm still trying to
> figure out how Tapestry works and this has me a bit stumped.
>
> _______________________________________________
> No banners. No pop-ups. No kidding.
> Introducing My Way - http://www.myway.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
RE: Multiple stylesheets?
Posted by "Howard M. Lewis Ship" <hl...@comcast.net>.
As documented, you provide a list or array of IAssets (for the many stylesheets to include). So ...
just like the stylesheet parameter, but you pass a bunch. It was kind of kludged in. You can use
OGNL expressions to create a list pretty handily!
--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry
http://jakarta.apache.org/commons/sandbox/hivemind/
http://javatapestry.blogspot.com
> -----Original Message-----
> From: jasono_tapestry [mailto:jasono_tapestry@myway.com]
> Sent: Wednesday, November 05, 2003 7:16 PM
> To: tapestry-user@jakarta.apache.org
> Subject: Multiple stylesheets?
>
>
>
> I see in a Shell component I can specify a style sheet.
>
>
>
> You typically map the stylesheet to an asset such as the
> example given in the component reference -
>
>
>
> <private-asset name="stylesheet" resource-path="style/style.css"/>
>
>
>
> However, how do I use the stylesheets parameter? I'm still
> trying to figure out how Tapestry works and this has me a bit stumped.
>
> _______________________________________________
> No banners. No pop-ups. No kidding.
> Introducing My Way - http://www.myway.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org