hi,

my page is using border, where i wrote

@Inject private PersistentLocale peLocale;

@OnEvent(component="switchlocale")
        void changeLocale(){
                if(currentLocale.equals(Locale.CHINESE)){
                        peLocale.set(Locale.ENGLISH);
                }else{
                        peLocale.set(Locale.CHINESE);
                }
        }

i did use PersistentLocale to switch the locale, but it still changed back
to english after navigate to other page. please advice


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-1-locale-switch-back-to-default-english-after-navigate-to-other-page-tp5002303p5003295.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to