The follow basic, projected created in eclipse by the plugin;
/**
* Entry point classes define <code>onModuleLoad()</code>.
*/
public class RateoholicTests implements EntryPoint, ValueChangeHandler
{
/**
* This is the entry point method.
*/
public void onModuleLoad() {
History.addValueChangeHandler(this);
History.fireCurrentHistoryState();
}
@Override
public void onValueChange(ValueChangeEvent event) {
Window.alert(" Test:"+event.getValue());
}
}
History does not fire when the token changes in opera, or when the
user press's the back/forward button.
It does fire initially.
Currently tested in Opera beta 10.3 / 10 and 9.64
You can see an online example here;
http://www.rateoholic.co.uk/test/historytest/RateoholicTests.html#something
(just change the end of #something to #somethingelse, and you will
notice history dosnt trigger as you click back/forward)
Am I setting this up wrong? Or is this a bug/incompatibility?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---