>
> mounting hundreds of paths within a dynamically generated site. having just a
> default path-attribute added and evaluated would be nicer.

you don't need that - only mount your pages once. I would subclass the 
application pages from a common page that looks like this:

public abstract class MyPage extends WebPage {

public MyPage(PageParameters params) {
   String lang = params.getString("lang", "en");
   getSession().setLocale(lang);
}

}

If you mount a page you can put /lang/de or /lang/fr in the url. If 
you don't mount your page you can add ?lang=de to your bookmarkable urls

Hope this helps,

Janos

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to