-
31 May 2012 12:00 PM #1
Unanswered: button text and labels from local storage
Unanswered: button text and labels from local storage
Hi, I am building a sencha touch 2 app where the label values and button text are provided by the localstorage. these data differ per view and will be loaded into the localstorage by the server. Please advise on the best way how and when to get the label values and button text from localstorage and render them. Thank you.
-
3 Jun 2012 12:56 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
- Answers
- 3157
In ST2 language you can use a store with a localstorage proxy. If you aren't using ST2 to save the data to localstorage then use getItem on localStorage
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.


Reply With Quote