Re: Localization issue

2008-08-29 Thread btakacs
] -- View this message in context: http://www.nabble.com/Localization-issue-tp19160932p19221098.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Localization issue

2008-08-27 Thread Nino Saturnino Martinez Vazquez Wael
Yeah, I were just uncertain if you might had added some ajax that were causing the problem.. you are still having problems? btakacs wrote: Hi Yeah, I understand that it is working with Ajax. But first I wanted to make it without ajax. Later I can upgrade. I don't know yet how can I ajaxify

Re: Localization issue

2008-08-27 Thread btakacs
: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Localization-issue-tp19160932p19177447.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Localization issue

2008-08-27 Thread Janos Cserep
why the locale changes does not apply to the components? Are you setting up your components based on your locale in the constructor? Because if you do, then setting a Page object with setResponsePage won't create new component objects for you. Try:

Re: Localization issue

2008-08-27 Thread Nino Saturnino Martinez Vazquez Wael
Ok This is my code for a locale switching link that will disable when active: @Override protected WebMarkupContainer getLocaleComponent(String id, final Locale locale) { Link link = new Link(id) { @Override public void onClick() {

Re: Localization issue

2008-08-27 Thread btakacs
- 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

Re: Localization issue

2008-08-27 Thread Janos Cserep
Actually now I have only one label for testing purposes: add(new Label(locale, getSession().getLocale().getLanguage())); That's actually bad practice. You are adding the component in the constructor. That code runs only once - when you create the component, page, etc. Try: add(new

Localization issue

2008-08-26 Thread btakacs
; } } My View implementation inherits the ListView, and overrides only the populateItem method. Do you have any tips? Thanks: Bence -- View this message in context: http://www.nabble.com/Localization-issue-tp19160932p19160932.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Localization issue

2008-08-26 Thread Ɓukasz Lipka
the populateItem method. Do you have any tips? Thanks: Bence -- View this message in context: http://www.nabble.com/Localization-issue-tp19160932p19160932.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Localization issue

2008-08-26 Thread James Carman
you have any tips? Thanks: Bence -- View this message in context: http://www.nabble.com/Localization-issue-tp19160932p19160932.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e

Re: Localization issue

2008-08-26 Thread btakacs
. Now it does not seem to be a Localization issue: it's some kind of reload issue... Any tips? Thanks: Bence -- View this message in context: http://www.nabble.com/Localization-issue-tp19160932p19169188.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Localization issue

2008-08-26 Thread James Carman
) when running setResponsePage(this.getPage()); why the locale changes does not apply to the components? They apply only after I click on a bookmarkable link. Now it does not seem to be a Localization issue: it's some kind of reload issue... Any tips? Thanks: Bence -- View

Re: Localization issue

2008-08-26 Thread Daniel Stoch
click on a bookmarkable link. Now it does not seem to be a Localization issue: it's some kind of reload issue... Any tips? Thanks: Bence - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Localization issue

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
Yeah I can confirm what Daniel are saying.. I have the same approach.. On the otherhand if it's an ajax link you'll need to add all the components you want rerendered. Daniel Stoch wrote: Hi, But what exactly not work? I'm using a Link with onClick() code: getSession().setLocale(locale); to