you are trying to redirect to a page that has that warning and when the
press ok they should return to the page
where they pressed to delete that account? (where lays the real delete
code?)
but setting the responsepage to null should work.
Somehow in the response phase we also see a response page. Why and when
that is exactly set i don't know yet.
johan
David Liebeherr wrote:
Hi all!
I have a problem with the redirectToInterceptPage.
I have this:
listItem.add(new Link("delete") {
public void onClick() {
setResponsePage((Page) null);
redirectToInterceptPage(new
Confirmation("delete_ftpaccount", "Do you realy want to delte this
ftp-account?"));
}
});
I get the following Error:
wicket.WicketRuntimeException: Already redirecting to
'/test/serverConfig;jsessionid=E4E42D4494F7156FF2B6D65412CF30EF.node1?path=5'.
Cannot redirect more than once
wicket.protocol.http.BufferedWebResponse.redirect(BufferedWebResponse.java:96)
wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:249)
wicket.RequestCycle.respond(RequestCycle.java:771)
wicket.RequestCycle.request(RequestCycle.java:406)
wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:304)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Any suggestions how to solve this?
Thanks,
Dave
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing
& QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user