Hi!
This question is also on stackoverflow:
http://stackoverflow.com/questions/32027495/gwt-hyperlink-strange-behavior-redirecting-to-http-localhost8080
But essentially the history token I am passing to the Hyperlink gets just
loaded very shortly but then replaced by /# which causes my landing page to
get loaded where I would have wanted my event calendar to be.
How I create the Hyperlink:
Hyperlink eventCalendar= new Hyperlink("Eventkalender", "eventCalendar=" +
store.getId());
How I register the event handler:
App.activityManager.setDisplay(this.mainView.getMainContentContainer());
History.addValueChangeHandler(new ValueChangeHandler<String>() {
@Override
public void onValueChange(ValueChangeEvent<String> event) {
String historyToken = event.getValue();
GWT.log("onValueChange() historyToken " + historyToken);
}});
But for some reason
http://localhost:8080/#eventCalendar=1
changes to
http://localhost:8080/#
immediately after. What am I doing wrong? :/
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.