10-21-2011 12:37 PM
How do you use the rim:background element? what is it used for?
Solved! Go to Solution.
10-24-2011 11:47 AM
It defines a page that will be loaded in the background when your application is started. The purpose of this page is to run any startup logic (e.g. starting listeners - Push is a great example) that your app may need to depend on, without requiring any UI.
This background page has NO ui. Any attempt to interact with the UI (e.g. changing the DOM, calling alert() statements, etc) will result in no action. Neither will making calls to redirect, as the background page cannot interact with the foregroud page(s) - so no query string.
To answer your question - "how do you pass parameters between it and the content page". I would suggest using an offline storage technique such as localStorage, WebDB or even File.