We have a DropDownChoice to change the language of a page (the language in mapped through an enum). The handler to change the code is as follows.

                @Override
                protected void onSubmit(AjaxRequestTarget target) {
getSession().setLocale(getLanguage().getObject().getLocale());
                    setResponsePage(getPage());
                }

We just have 3 pages and a login page. The code works on 2 of 3 pages but I don't know why it doesn't work on the third page (the code to find the language and to get the current page seems also to be correct and working). My question is does anybody have some hints what I could do wrong?

Regards,

Wolfgang



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to