Hi!

I do want to mount our application URLs as following:

/${locale}/PageName

So I can access Page1 as:
/pt-br/Page1
/en-us/Page1

The application is a simple website with not so many dynamic content, so
in most cases it directly uses <a href="..." />, <img src="..." />
without wicket:id.

That's fine. hrefs and image srcs are resolved correct (wicket strips
the locale from images), but if they're referenced in CSS
(background-image, for example), Wicket does not do it, so I end with
some images going to /image and another ones going to /${locale}/image.

I may mount the resources in two different places, like:
/res/${name}
/${locale}/res/${name}

But this does not seems good for me.

What's the best practice to mount pages with a URL prefix and still make
HTML/CSS to work without needing to use Wicket components (wicket:id)
for everything?


Adriano


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

Reply via email to