On 12 sep, 17:22, "Ian Bambury" <[EMAIL PROTECTED]> wrote:
>
> That's my point: fireCurrentHistoryState *doesn't* replace the functionality
> of onHistoryChanged.
>
> What is the replacement for onHistoryChanged("SomeToken")?

   String currentToken = History.getToken();
   History.newItem("SomeToken");
   History.newItem(currentToken, false);

It works because history change events are now fired synchronously.

But I'd rather say that you shouldn't do such things and try to find
an alternate, better *design* for your app.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to