Hello everyone.

I noticed that wicket automatically translate url in img's src attribute
in html to the right url regarding to changed url context. 
I mean when I've got eg. link <img src="/img/someimage.png"> and that
page is rendered in some context for example "/appContext/" the src
attribute is automatically changed to something like this: <img
src="/../img/someimage.png"> (notice two dots) to reflect changed
context (and link 
still the same resource)

1) Where exactly is the code which doing this?
2) How can I obtain this changed url for static resources?

I am asking this because I've got some static resources (javascripts)
and I need to know their relative url regarding to changed context.

Thank you for your response.

Best wishes

MB





 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to