You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "Mathias P.W Nilsson" <ma...@snyltarna.se> on 2008/09/18 16:35:17 UTC
CSS and variation
I'm looking at http://www.csszengarden.com CSS Zengarden that uses the same
html markup and only alters the css. I would like to use variation like this
and I'm wondering what my approach should be?
I set Session.setVariation( String variation ) in my session object
I have the same java and html file
How can I create different variation of css files?
// Mathias
--
View this message in context: http://www.nabble.com/CSS-and-variation-tp19554325p19554325.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: CSS and variation
Posted by "Mathias P.W Nilsson" <ma...@snyltarna.se>.
Maybe I should also say that my css files isn't in the container. They are
served thru another servlet. All files are external and is located on a file
server.
so the /resources/class/..... doesn't work for me.
--
View this message in context: http://www.nabble.com/CSS-and-variation-tp19554325p19554767.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: CSS and variation
Posted by Martijn Dashorst <ma...@gmail.com>.
In his case I'd add a different stylesheet through a
webmarkupcontainer and attribute modifier. No need to go all skinny
dipping imo.
Martijn
On Thu, Sep 18, 2008 at 4:46 PM, James Carman
<ja...@carmanconsulting.com> wrote:
> Take a look at this document. It should help you.
>
> http://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html
>
> You'll probably want to use different "styles" for your different skins.
>
> On Thu, Sep 18, 2008 at 10:35 AM, Mathias P.W Nilsson
> <ma...@snyltarna.se> wrote:
>>
>> I'm looking at http://www.csszengarden.com CSS Zengarden that uses the same
>> html markup and only alters the css. I would like to use variation like this
>> and I'm wondering what my approach should be?
>>
>> I set Session.setVariation( String variation ) in my session object
>> I have the same java and html file
>> How can I create different variation of css files?
>>
>> // Mathias
>> --
>> View this message in context: http://www.nabble.com/CSS-and-variation-tp19554325p19554325.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: CSS and variation
Posted by James Carman <ja...@carmanconsulting.com>.
Take a look at this document. It should help you.
http://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html
You'll probably want to use different "styles" for your different skins.
On Thu, Sep 18, 2008 at 10:35 AM, Mathias P.W Nilsson
<ma...@snyltarna.se> wrote:
>
> I'm looking at http://www.csszengarden.com CSS Zengarden that uses the same
> html markup and only alters the css. I would like to use variation like this
> and I'm wondering what my approach should be?
>
> I set Session.setVariation( String variation ) in my session object
> I have the same java and html file
> How can I create different variation of css files?
>
> // Mathias
> --
> View this message in context: http://www.nabble.com/CSS-and-variation-tp19554325p19554325.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org