Cloud Back
Posts: 0
Joined: Tue Feb 25, 2014 2:56 pm

Page show event stops working when "Render all pages in one HTML file (jQuery Mobile multi-page template)" is selected i

page 1 of my App has Label components that get their data from a local storage variable

page 2 of my app has input components that stores the entered data to a local storage variable which page 1 reads and displays

When "Render all pages in one HTML file (jQuery Mobile multi-page template)" is enabled, the "Page Show" events which triggers my page 1's "set property" stops working - likely because when all pages are combined in one there's no on show event(i might be wrong)

On the other hand, when "Render all pages in one HTML file (jQuery Mobile multi-page template)" is disabled it works flawlessly.

Note: page 2 has a button(save) component which navigates to page 1.

How can i get page 1's "label" component to read values stores by the "input" components on page 2 when "Render all pages in one HTML file (jQuery Mobile multi-page template)" is ENABLED

Ral Gaultier
Posts: 0
Joined: Mon Feb 24, 2014 1:33 am

Page show event stops working when "Render all pages in one HTML file (jQuery Mobile multi-page template)" is selected i

There are no console errors. It works well on some pages but doesn't work on other pages.

After hitting the save button, the values are not stored unless I hit "Edit" and hit "Save" again before it updates the values. That means i have to press "Save" button twice before the stored variable is picked by the "label" component tied to it.

Any clues?

Ral Gaultier
Posts: 0
Joined: Mon Feb 24, 2014 1:33 am

Page show event stops working when "Render all pages in one HTML file (jQuery Mobile multi-page template)" is selected i

In summary, after hitting the save button, the "label" component on the second page does not display what is entered into the "input" component on the first page.

I add two more pages 3&4 to the app with the exact same principle and it works fine b/w those pages. I don't understand why this is the case when case 1&2 and 3&4 have been setup with the same events/action types. one works great while the other doesn't

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Page show event stops working when "Render all pages in one HTML file (jQuery Mobile multi-page template)" is selected i

Hello! Please post your public app link and steps to reproduce.

Return to “Issues”