You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by okrohne <ok...@yahoo.de> on 2008/06/23 21:56:56 UTC

relative location for css/javascript

Hi,

I place my html files and css/javascript in different folders under the "web
root" dir:

/pages
/templates
/css
/javascript
/images

I use this structure outside the java packages as we use Adobe GoLive for
designing the pages.
I followed the Wiki suggestions to add resource folders and to use a
ResourceStreamLocator but the problem is that Wicket changes the relative
reference from ../css/styles.css to ../../css/styles.css , the same for
javascript/ images.

If I use absolute pathes like /css/styles.css then everthing works but I can
not see the html files properly in Adobe GoLive.

What do I wrong?
Can anyone explain me how to use relative pathes?


Thanks,
Oliver




-- 
View this message in context: http://www.nabble.com/relative-location-for-css-javascript-tp18077090p18077090.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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