Himanshu
Posts: 0
Joined: Mon Mar 31, 2014 9:46 am

Load Event on Start page as "Navigate To Page", redirects again to start page. Why?

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Load Event on Start page as "Navigate To Page", redirects again to start page. Why?

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.

Himanshu
Posts: 0
Joined: Mon Mar 31, 2014 9:46 am

Load Event on Start page as "Navigate To Page", redirects again to start page. Why?

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Load Event on Start page as "Navigate To Page", redirects again to start page. Why?

Hi Himanshu,

Could you please list all the events you use on these pages?

Himanshu
Posts: 0
Joined: Mon Mar 31, 2014 9:46 am

Load Event on Start page as "Navigate To Page", redirects again to start page. Why?

Can you please tell me the uses of "Render all pages in one HTML file" in AppSettings?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Load Event on Start page as "Navigate To Page", redirects again to start page. Why?

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.

Himanshu
Posts: 0
Joined: Mon Mar 31, 2014 9:46 am

Load Event on Start page as "Navigate To Page", redirects again to start page. Why?

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.

Himanshu
Posts: 0
Joined: Mon Mar 31, 2014 9:46 am

Load Event on Start page as "Navigate To Page", redirects again to start page. Why?

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.

Himanshu
Posts: 0
Joined: Mon Mar 31, 2014 9:46 am

Load Event on Start page as "Navigate To Page", redirects again to start page. Why?

Checked the "Render all pages in one HTML file" option.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Load Event on Start page as "Navigate To Page", redirects again to start page. Why?

Himanshu,

Could you please share the app with the issue and tell us how we can reproduce this?

Return to “Issues”