A couple of points: - you don't need to call History.fireCurrentState() after newItem(). - you are calling newItem() from within the history change handler
A typical history-enabled app will call fireCurrentState in onModuleLoad, actions that change history state simply call newItem with the new state and do nothing else. The onValueChanged handler then does the work of actuallly changing to respond to the event, that way it just works when the user users forward/back, bookmarks a history state, etc. -- 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.
