thanks for that. can you provide some code example to help me out.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I think the tap3 Shell component supports the stylesheets parameter as well,
so it probably isn't very hard. Ie
http://tapestry.apache.org/tapestry3/doc/ComponentReference/Shell.html
If you have something that wraps all of your pages (most of us do, the
infamous Border component), then you just
update: there is no source code for tassel available. and i cant see
it supporting multiple themes. i am also using T3.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
thanks guys. will give these thoughts a try and see if i can get it to
work. in the meantime if you have any more ideas do share them.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of hv @ Fashion Content
> Sent: Monday, August 07, 2006 10:13 AM
> To: users@tapestry.apache.org
> Subject: Re: Multiple themes
>
> I't much easier in T4 now.
>
> I
I't much easier in T4 now.
Inject the AssetFactory:
To return the IAsset:
assetFactory.createAbsoluteAsset(cssName.toString(),null,null);
"Kevin Menard" <[EMAIL PROTECTED]> skrev i en meddelelse
news:[EMAIL PROTECTED]
>I haven't actually tried this, but it would seem that if you passed the C
Make a HiveMind service or ASO that can determine the termine the current
theme/skin.
Personally I would prefer using a special cookie for the theme, but you can
use session scope as well.
Use @Shell with a stylesheet parameter that refers to an IAsset property on
the ASO.
I would suggest imple
If all you're interested in doing is changing the css file, you can look
at the tassel source code (it supports multiple themes).
http://sourceforge.net/projects/tapestry-tassel
Robert
Peter Dawn wrote:
> guys,
> i am trying to implement multiple themes within my web app. what i
> really want to
I haven't actually tried this, but it would seem that if you passed the CSS
context path as the "stylesheet" parameter with OGNL to the Shell component,
that you could do this. Otherwise, you could look more at using the Shell's
"delegate" parameter if you need finer grain control.
The hardest pa