CSS and variation

2008-09-18 Thread Mathias P.W Nilsson

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: CSS and variation

2008-09-18 Thread James Carman
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
[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: CSS and variation

2008-09-18 Thread Martijn Dashorst
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
[EMAIL PROTECTED] 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
 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: CSS and variation

2008-09-18 Thread Mathias P.W Nilsson

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]