Re: I18n and nice URLs

2009-03-17 Thread manu161184
ou? this is how i use the locale. > > best regards, > Andreas > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://www.nabble.com

Re: I18n and nice URLs

2009-03-17 Thread Andreas Petersson
matches(IRequestTarget requestTarget) // but here how i can get the current locale to determine if /fr/accueil or /en/home matchs this mounter ??? Session.get().getLocale().getLanguage() decode(RequestParameters requestParameters) { // but here how i can change the current locale

Re: I18n and nice URLs

2009-03-17 Thread manu161184
age, it's ok. >> >> In Home.html >> >>  home page >> >> In Home.java : >> >> //i can get locale with request.getRequestURI() and check if url starts >> with >> "en" or "fr" (and i think is very bad) >> n

Re: I18n and nice URLs

2009-03-14 Thread Igor Vaynberg
think is very bad) > new BookmarkablePageLink("homeLink", Home.class); // but here, how to change > "href" with regard to locale? > > thanks, > Manu > -- > View this message in context: > http://www.nabble.com/I18n-and-nice-URLs-tp22512232p22512232.ht

I18n and nice URLs

2009-03-14 Thread manu161184
() and check if url starts with "en" or "fr" (and i think is very bad) new BookmarkablePageLink("homeLink", Home.class); // but here, how to change "href" with regard to locale? thanks, Manu -- View this message in context: http://www.nabble.com/I18n-and-nice