ibm mobilefirst - How to pass data between pages through worklight client API -


i want invoke procedure in 1 page , use in page, , response used next page, think jsonstore not suit that. should define global var? there code sample such things? help.

i presume pages mean different html files. if so, not recommended, worklight intended single page applications. there no code samples show how that.

i recommended having single html page , using jquery.load inject new html / dom elements. dynamically injecting new html single/main html file shouldn't big , can destroy (i.e. remove memory / dom) unused dom elements. searching on google page fragments , html templates find examples. idea don't lose javascript context.

maybe can away doing new init re-initialize jsonstore (it won't delete data, give access) on every new html page , use get access jsonstore collections perform operations such find.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -