You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andris Rāmavs <og...@inbox.lv> on 2006/02/27 09:04:30 UTC

preserving form values when changing locales

Hi,

I have a locale change links on all the pages that do the following:
 public void switchLocale(IRequestCycle requestCycle, String
localeName) {
    requestCycle.getEngine().setLocale(new Locale(localeName));
    requestCycle.cleanup();
    requestCycle.activate(requestCycle.getPage().getPageName());
}
That works fine in changing the locale and refreshing the current
page in the new locale except that the forms already possibly
partially filled out by the user get cleared out.

Any ideas on how to resolve that problem?

Any help will be much appreciated.

Janis.