简体   繁体   中英

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.

您可以简单地使用本机GWT历史记录:

History.back();

如果您正在使用PlaceManager,则可以在PlaceManager的实例上调用navigateBack()。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM