Вопрос

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.

Это было полезно?

Решение

You can simply use the native GWT history for that:

History.back();

Другие советы

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top