adi
Posts: 0
Joined: Tue Jun 26, 2012 8:09 pm

defect while using project feature "Render all pages in one HTML files:

since i've start using this feature this stopped working:

  1. screen one has a Mobile list. the mobile list has event, when ever clicking on one list item another screen will open.

  2. before using the 'Render" feature each list item presented relevant data in the linked screen. after using this 'Render" feature the first list item getting clicked, its data will be used in the next screen for all list items.

    this was confirmed by simply un-checking the render feature and testing the app again.
    Adi

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

defect while using project feature "Render all pages in one HTML files:

How do you show information on the second page? Do you read data from local storage or invoke a service -- on what event?

adi
Posts: 0
Joined: Tue Jun 26, 2012 8:09 pm

defect while using project feature "Render all pages in one HTML files:

Hi Max,
the screen gets its data from a REST service.
i thought that was the problem so i switched to local storage.

same issue both ways.

this is working if i turn off this render feature.

Thanks
Adi

adi
Posts: 0
Joined: Tue Jun 26, 2012 8:09 pm

defect while using project feature "Render all pages in one HTML files:

do we have any solution for this?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

defect while using project feature "Render all pages in one HTML files:

Can you share your app with a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a and tell us how to reproduce the problem (what pages to run, etc)?

adi
Posts: 0
Joined: Tue Jun 26, 2012 8:09 pm

defect while using project feature "Render all pages in one HTML files:

shared.
application will open the main page - scr_main.
in it you will see a mobile list. click on any list item and you will get re-directed to scr_deal_details. you will see deal details there. go back to the scr_main by clicking on the top left button everything is in hebrew - sorry :) ).
then click on another list item - you will see the same text as the first list item. from some reason the page does not invoke the events for refreshing the page content.

Adi

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

defect while using project feature "Render all pages in one HTML files:

scr_deal_details page calls JavaScript on onload event. For an app that was generated with checked "render in one file" - event onload called only once (the first time the page is loaded). When you return to the page - there is no onload event because the page is in DOM already. So page show event should be used, it will be called every time the page is shown.

adi
Posts: 0
Joined: Tue Jun 26, 2012 8:09 pm

defect while using project feature "Render all pages in one HTML files:

Thanks Max, works like a charm

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

defect while using project feature "Render all pages in one HTML files:

Nice Explanation !! Helps alot

Lars Soligard
Posts: 0
Joined: Tue Sep 16, 2014 5:31 pm

defect while using project feature "Render all pages in one HTML files:

I'm having the same issue. What was the solution to this problem?

Return to “Issues”