Ok, I am using GWTP to build my app. I have a signUp page (
mydomain.com#signUp) & a profile page (mydomain.com#profile).

I want that after user signed up successfully, the app will redirect to 
profile page & then reload() the profile page.

So here is what I did:

if(signedUpSuccessfully){
  PlaceRequest request=new PlaceRequest(NameTokens.profile);
  placeManager.revealPlace(request);
  Window.Location.reload();
}

However, after finished running, the app did reload but it still in the 
signUp page not in profile page.

So, How to let the app redirect to profile page then reload the profile 
page?

I don't want to use Window.open cos it could open new browser, which is 
very noisy.

http://stackoverflow.com/questions/23643597/how-to-redirect-and-then-reload-the-window-in-gwtp

-- 
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.

Reply via email to