Tuesday, May 31, 2016

Re: Getting username from url only works after refresh

Ok. Then let me be a little more precise. How do you normally pass a variable between 2 places. How should i access my username from the UserViewImpl knowing the facts above ?

I've tried using History.getToken(), and when the page gets loaded the username does not appear (i have a widget which says "logged in as: " and it's blank. Nothing appears. When i click the browser refresh button, then the username appears., like "logged in as: UserPlace:andrei.olar" , same as when i splitted my url to obtain the username....

PS: no uibinder

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment