Hi,

I observe that if my .css file is named like 'something_ab.css'
then org.apache.wicket.util.resource.locator.ResourceNameIterator confuses
that 'ab' is the locale of the resource.
As a result if I create a ResourceReference(MyPage.class,
"something_ab.css", Locale.US, "mystyle") then the produced URL is :
http://localhost:8080/resources/com.mycompany.HomePage/something_ab_mystyle_ab.css


Is this a bug or it is a known limitation in 1.4 ?

P.S. With 1.5 everything is OK:
http://localhost:8080/wicket/resource/com.mycompany.HomePage/something_ab.css?en_US-mystyle-variation

Reply via email to