Restarting a Sencha Touch App
I'm currently working with a Sencha Touch localized app, and all of the string values such as titles, labels and forms are generated on launch, meaning that if I want to switch the langu开发者_如何转开发age I need to reload the whole app.
Is there a way I can restart/reload the whole application or views without refreshing the browser?
Try using the native JavaScript code for reloading the session i-e
location.reload();
You can always fire a launch event in the Ext.Application class, this will invoke all the app initialization code without refreshing the browser
加载中,请稍侯......
精彩评论