Janos Cserep-4 wrote:
> 
> Are you setting up your components based on your locale in the
> constructor?
> 
Actually now I have only one label for testing purposes:
add(new Label("locale", getSession().getLocale().getLanguage()));  
  


> Because if you do, then setting a Page object with setResponsePage won't 
> create new component objects for you.
> 
> Try:
> 
> setResponsePage(this.getPage().getClass()); - this will forward you to a 
> new instance of the page...
> 
Well, it seems to help. It seems that the method with Class type forces the
reload.
It's weird a little...

Thanks
   Bence

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-- 
View this message in context: 
http://www.nabble.com/Localization-issue-tp19160932p19180156.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to