Dojo: All Scrollable Views are getting rendered together on Application launch

119 views Asked by At

I build one application using Worklight 6.0.0 and DOJO. Its is working fine on Browser but when i installed it on my iOS7 device then all the pages are getting rendered together. I have rechecked HTML of all my pages manually and by taking only one Scrollable page at a time. When i take 2 or more Scrollable pages then all are getting rendered together. Following is one console error that i'm getting

"[ERROR] error JSON.stringify()ing argument: TypeError: JSON.stringify cannot serialize cyclic structures."

Don't know whether is it because of this error. Tried solving this error too by following below post but didn't get success

thomasvendetta

Post on Stack Overflow

Please help. This bug is freaking me out.

1

There are 1 answers

1
nsand On BEST ANSWER

From your Dojo library project, copy toolkit/dojo/dojo/nls/core-web-layer_ROOT.js and toolkit/dojo/dojo/nls/mobile-ui-layer_ROOT.js into your Worklight project's www/dojo/nls folder.

Additionally, if your phone is not set for the en-US locale, you may need to copy additional resources from the Dojo library project. For example, if your phone is configured for French, you'd need to copy toolkit/dojo/dojo/nls/core-web-layer_fr.js and toolkit/dojo/dojo/nls/mobile-ui-layer_fr.js into your Worklight project's www/dojo/nls folder as well.