GWT built in History and HTML5 pushstate

52 views
Skip to first unread message

Martin Nguyen

unread,
Jan 11, 2021, 7:17:25 AM1/11/21
to GWT Users
Hi,

We are using the GWT built in History which leads to the hashtag tokens. This is leading to a problem when we are trying to redirect in a Microsoft teams app.

Is there a way for us to try removing that hashtag sign in the urls, are there any up-to date libraries or implementation to go from History -> HTML5 pushstate?

Best regards
Martin 

Vegegoku

unread,
Jan 11, 2021, 8:33:40 AM1/11/21
to GWT Users
I would suggest that you take a look at domino-history

Thomas Broyer

unread,
Jan 11, 2021, 3:16:02 PM1/11/21
to GWT Users
Are you using Places?
Otherwise (using plain com.google.gwt.user.client.History), you'd have to migrate your code to use something else, possibly based on elemental2-dom: https://javadoc.io/doc/com.google.elemental2/elemental2-dom/latest/elemental2/dom/History.html, or domino-history as already suggested by Ahmad.

Martin Nguyen

unread,
Jan 12, 2021, 7:01:43 AM1/12/21
to GWT Users
Thanks, I will check that out.
Reply all
Reply to author
Forward
0 new messages