]
--
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
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
: [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
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:
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() {
-
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
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
;
}
}
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
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
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
.
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
)
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
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
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
14 matches
Mail list logo