Thanks,
Andrew
On 11/17/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
redirectToInterceptPage() should only really be used in the checkAccess() page
If you want to return to a page. Why not give the page that is Editing the Shipping address the page instance where it came from and where he should return to?
so youre link click:
setResponsePage(new MyPage(this));
and then in MyPage in the form submit (or something)
setResponsePage(myPreviousStoredPage)
johan
On 11/17/05, Andrew Berman <[EMAIL PROTECTED]> wrote:I currently have a confirmation panel which allows a user to click a link and go to another page to edit their shipping address, but I want them to return to the confirmation panel (part of a page) after they edit their shipping address. So, I added a link to the panel with its onClick() method saying: getPage().redirectToInterceptPage(new MyPage())
However, when I do this, I get an error that says: wicket.WicketRuntimeException: Already redirecting to '/foo?path=13'. Cannot redirect more than once
What does that mean? I don't understand where I'm redirecting more than once. Is there something I'm doing wrong or is this something that is not possible?
Thanks for any help,
Andrew
