Page 1 of 1

Refresh problem with invoked service

Posted: Sun Sep 29, 2013 11:53 pm
by pimaxdev

Hello !

i have a list of items with a detail page ...

when i click on the item it take me to the details page of the item clicked ... but if i return then i choose another item on the details page i still have the details about the first item ...

the service is invoked but the page still have first result... if i create a button with a manual refresh the i click on i have the correct result ... i don't know why the service is invoked but the page don't have the new result of the query !

Thanks for help !!


Refresh problem with invoked service

Posted: Mon Sep 30, 2013 12:16 am
by maxkatz

When you click on an item, check what is the id of the record on which you clicked.


Refresh problem with invoked service

Posted: Mon Sep 30, 2013 2:03 am
by pimaxdev

I already checked this ! It ́s OK ... But the invoke service on " load " page don't refresh when we click on other items ... Like she put the result in cache and don't change without manual refresh


Refresh problem with invoked service

Posted: Mon Sep 30, 2013 3:21 am
by maxkatz

You should use page show event. Load event is fired only once, when the page is loaded into the DOM.