Page 1 of 1
Load Event on Start page as "Navigate To Page", redirects again to start page. Why?
Posted: Tue Apr 29, 2014 10:07 am
by Himanshu
Hi Team,
Please follow a very simple scenario.
I have two pages. One is TestLoginPage. Other is TestNavigationPage.
Default page/ Starting Page for this application is TestLoginPage.
I have added one event on the Load of this TestLoginPage to navigate to TestNavigationPage.
It is running very much fine in browser.
But on Appery.IO tester or after build the app, it is not working accordingly. What happens -
Initially it goes to the TestNavigationPage but just after one second it come again to starting TestLoginPage.
Please tell me why its happening. None of the other events on both of the pages.
Load Event on Start page as "Navigate To Page", redirects again to start page. Why?
Posted: Tue Apr 29, 2014 11:13 am
by Kateryna Grynko
Hi Himanshu,
Is there any navigation to other page on your TestLoginPage?
Did you tick "Render all pages in one HTML file" in AppSettings?
Try using Page Show event instead please.
Load Event on Start page as "Navigate To Page", redirects again to start page. Why?
Posted: Wed Apr 30, 2014 7:05 am
by Himanshu
Hi Katya,
I tried with "Page Show" event, but it is rendering two times.
First Came to my starting Page for a while then redirected to Navigate Page and then came again to my start page and then finally went to Navigated page.
Don't know why for two times.
Load Event on Start page as "Navigate To Page", redirects again to start page. Why?
Posted: Wed Apr 30, 2014 7:25 am
by Kateryna Grynko
Hi Himanshu,
Could you please list all the events you use on these pages?
Load Event on Start page as "Navigate To Page", redirects again to start page. Why?
Posted: Wed Apr 30, 2014 9:47 am
by Himanshu
Can you please tell me the uses of "Render all pages in one HTML file" in AppSettings?
Load Event on Start page as "Navigate To Page", redirects again to start page. Why?
Posted: Wed Apr 30, 2014 10:05 am
by Kateryna Grynko
Himanshu,
http://demos.jquerymobile.com/1.1.1/d...
If you tick it, all the pages are loaded at once, when you run application. Navigation between pages is faster. If don't - page loads when you open it.
Load Event on Start page as "Navigate To Page", redirects again to start page. Why?
Posted: Wed Apr 30, 2014 10:16 am
by Himanshu
OK. I checked the option, my issue could be resolved. But I can't go with this option. Because -- Take an example
I have one page, with one text-box and one button, I am getting response of service based on text-box's value, but if I change the value of text-box and click the button again to get the service result, This time service don't call. And I got the previous Result in my page.. even request parameter value is changed (It happens because service don't call for the second time)..
Please clear.
Load Event on Start page as "Navigate To Page", redirects again to start page. Why?
Posted: Wed Apr 30, 2014 11:47 am
by Himanshu
Tell me, are you able to replicate it on your Appery.IO tester as well, or not?
If not then please send me a public link of the app, or please send the backup of the project?
Its urgent. Please.
Load Event on Start page as "Navigate To Page", redirects again to start page. Why?
Posted: Wed Apr 30, 2014 11:48 am
by Himanshu
Checked the "Render all pages in one HTML file" option.
Load Event on Start page as "Navigate To Page", redirects again to start page. Why?
Posted: Wed Apr 30, 2014 12:45 pm
by Kateryna Grynko
Himanshu,
Could you please share the app with the issue and tell us how we can reproduce this?