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