[ 
https://issues.apache.org/jira/browse/WICKET-1917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christopher J Lyth updated WICKET-1917:
---------------------------------------

    Description: 
I often find myself adding CSS files to wicket with the same name as my pages 
(i.e. BasePage.css). I then have to add the reference through an html link or a 
header contributer. I would like to load these automatically in a similar manor 
as the properties files. 

I feel this should be expanded to include the ability to skin the application 
in the following manor.

BasePage.css
BasePage_chrome.css
BasePage_metal.css

I would also recommend setting this in a similar manor to other patterns in 
wicket. It would use the closest name match by default (i.e. BasePage.css). I 
imagine this could also be set by system property (wicket.skin) or 
programatically. 


  was:
I often find myself adding CSS files to wicket with the same name as my pages 
(i.e. BasePage.css). I then have to add the reference through an html link or a 
header contributer. I would like to load these automatically in a similar manor 
as the properties files. 

I feel this should be expanded to include the ability to skin the application 
in the following manor.

BasePage.css
BasePage_chrome.css
BasePage_metal.css




> Automatically Load CSS files based on name matching
> ---------------------------------------------------
>
>                 Key: WICKET-1917
>                 URL: https://issues.apache.org/jira/browse/WICKET-1917
>             Project: Wicket
>          Issue Type: New Feature
>          Components: wicket
>            Reporter: Christopher J Lyth
>            Priority: Minor
>
> I often find myself adding CSS files to wicket with the same name as my pages 
> (i.e. BasePage.css). I then have to add the reference through an html link or 
> a header contributer. I would like to load these automatically in a similar 
> manor as the properties files. 
> I feel this should be expanded to include the ability to skin the application 
> in the following manor.
> BasePage.css
> BasePage_chrome.css
> BasePage_metal.css
> I would also recommend setting this in a similar manor to other patterns in 
> wicket. It would use the closest name match by default (i.e. BasePage.css). I 
> imagine this could also be set by system property (wicket.skin) or 
> programatically. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to