문제

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