Jordi P.S.
Jordi P.S.

Reputation: 4018

GWT MVP History back

I have a MVP application implemented. Back button is working fine. I'd like to programatically go back to the previous place. How would I do that?

I'm looking for something like:

clientFactory.getPlaceController().goBack();

Thanks.

Upvotes: 2

Views: 1645

Answers (2)

David Mann
David Mann

Reputation: 2004

If you're using PlaceManager, you can call navigateBack() on an instance of PlaceManager.

Upvotes: 3

Guillaume Polet
Guillaume Polet

Reputation: 47608

You can simply use the native GWT history for that:

History.back();

Upvotes: 6

Related Questions