Hello,
Is it possible to return to previous page with wicket-link (not browser
link).
In 1.4 I used:
PageprevPage = getPage().getPageMap().get(pageIndicator.getPrevPageId(),
-1);
throw new RestartResponseAtInterceptPageException(prevPage);
Thanks a lot, Marieke Vandamme
--
View this message in
Hi,
if I'm not wrong in wicket 1.5 page map has been removed and you should
have a compilation error if you write page.getPageMap().
Hello,
Is it possible to return to previous page with wicket-link (not browser
link).
In 1.4 I used:
PageprevPage =
Yes, indeed that's because I post it on the mailinglist, to know what I
should use in place.
More info: I can't use javascript function history.go(-1), because the page
can be bookmarkable. So I check if the prevPageId was past in the page
constructor. If passed, I want to go to that cached wicket
I don't know if in wicket 1.5 there is something to use in place of your
old code. Anyway, you could always implement a custom link with a
PageReference to the previous page.
Yes, indeed that's because I post it on the mailinglist, to know what I
should use in place.
More info: I can't use