GWT MVP History back
-
28-05-2021 - |
Frage
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.
Lösung
You can simply use the native GWT history for that:
History.back();
Andere Tipps
If you're using PlaceManager, you can call navigateBack() on an instance of PlaceManager.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow