Hi,

I have the following scenario:
My packages look like:
-bootstrap
--css
---BootstrapCssResourceReference.java
---bootstrap.css
--fonts
---glyphicons-halflings-regular.eot

In that css file bootstrap defines its font by referencing a relative path
(src:url(../fonts/glyphicons-halflings-regular.eot)
The BootstrapCssResourceReference has the following url:
http://localhost:8080/webapp/wicket/resource/some.package.bootstrap.css.BootstrapCssResourceReference/bootstrap.min-ver-1495022368739.css

Now when the browser resolves the relativ font url, it comes up with
http://localhost:8080/webapp/wicket/resource/fonts/glyphicons-halflings-regular.eot
Obviously it won't find anything there. 

I'm wondering what is the best way of dealing with that kind of references?
I could mount a ResourceReference for each file, but maybe there is a better
way?

Thanks for your time,

Ravi




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/ResourceReference-that-contains-relative-paths-tp4677885.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to