On 1/13/2012 8:48 PM, hbf wrote:
Dear all,
I am following the instructions for History management
http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsHistory.html
but even though I register my history handler in onModuleLoad(), it
does not fire when I load my application with a fragment in the URL.
It does fire, however, when I manually change the fragment in the
browser URL field.
Does anybody have any idea what I might be doing wrong?
Thanks,
Kaspar
This happened to my application before, maybe you can try implementing
the interface instead of History.addValueChangeHandler
Like this:
public class MainEntryPoint implements EntryPoint, ValueChangeHandler {
// stuff
@Override
public void onValueChange(ValueChangeEvent event) {
// do your stuff
}
}
Cheers.
--
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.