This content has been marked as final.
Show 1 reply
-
1. Re: Implementing parent class for @Page annotated classes
jfuerth Jun 7, 2013 11:27 AM (in response to morfeus929)Hi Viktor,
Sorry I missed your question until now.
The navigation framework will pass the current history token to either of the page lifecycle methods @PageShowing and @PageShown. All you need to do is declare an argument of type HistoryToken on one of those methods, like this:
@PageShowing public void onPageShowing(HistoryToken ht) { Window.alert("Welcome to the page called " + ht.getPageName()); }
Hope that helps!
Jonathan