On Fri, Dec 2, 2011 at 4:52 PM, cosmindumy <cosmind...@yahoo.com> wrote: > Hello, > I know is off topic but maybe you have an answer. :) > I have the following problems. If you have any idea please tell me. > I implemented the application internationalization but > the label components are not refreshed after changing locale. Do you know > why.
Show us your code. I guess you do: new Label(someId, getString("someKey")) while you should use: new Label(someId, new ResourceModel("someKey")) > Another problem is that when I change the locale I refresh the whole page. > (target.addComponent(instance);) where instance is my Page class. Therefore > all completed fields are lost. I didn't found other solution. Do you have > any idea? You either need to track the client side changes and show a confirmation to the user "You did some changes. Are you sure you want to leave the page?" or make the locale switch a submitting component (with AjaxFormSubmitBehavior for example) > Thanks. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Internationalization-on-panels-tp2299768p4147702.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org