Page 1 of 1
defect while using project feature "Render all pages in one HTML files:
Posted: Sun Aug 05, 2012 8:08 pm
by adi
since i've start using this feature this stopped working:
screen one has a Mobile list. the mobile list has event, when ever clicking on one list item another screen will open.
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
defect while using project feature "Render all pages in one HTML files:
Posted: Mon Aug 06, 2012 12:10 am
by maxkatz
How do you show information on the second page? Do you read data from local storage or invoke a service -- on what event?
defect while using project feature "Render all pages in one HTML files:
Posted: Mon Aug 06, 2012 6:35 am
by adi
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
defect while using project feature "Render all pages in one HTML files:
Posted: Mon Aug 06, 2012 5:09 pm
by adi
do we have any solution for this?
defect while using project feature "Render all pages in one HTML files:
Posted: Mon Aug 06, 2012 5:26 pm
by maxkatz
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)?
defect while using project feature "Render all pages in one HTML files:
Posted: Mon Aug 06, 2012 7:44 pm
by adi
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
defect while using project feature "Render all pages in one HTML files:
Posted: Tue Aug 07, 2012 5:12 pm
by maxkatz
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.
defect while using project feature "Render all pages in one HTML files:
Posted: Tue Aug 07, 2012 5:45 pm
by adi
Thanks Max, works like a charm
defect while using project feature "Render all pages in one HTML files:
Posted: Mon Aug 13, 2012 5:04 pm
by Emmz
Nice Explanation !! Helps alot
defect while using project feature "Render all pages in one HTML files:
Posted: Tue Nov 11, 2014 10:38 pm
by Lars Soligard
I'm having the same issue. What was the solution to this problem?