Tuesday, January 5, 2016

Re: Activities and Places - Enabling History to reflect an updated data item

I think you need to program it in the start() method in the activity.

On 5 January 2016 at 12:44, Paul Mazzuca <paul.j.mazzuca@gmail.com> wrote:
Let's say I have a view with a list of items. When I click on an item I go to a new Place and view with details about that item.  In this details view, I do some update to the item, then want to return back to the list view, but only using the back button on the browser.  

If the user clicks the back button on the browser, that would trigger a place change event (a History.back() call)  and would return me to the list, however, the item in the list would be the stale version of the item, rather than the new version I just updated.  

How can I pass the updated item to the list when only using the back button on the browser, and without reaching out to the server?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment