Actually I handled the exception (in the catch block) and that's how I knew
that the current page wanted to redirect to the intended page. I was getting
the above posted exception and then the following exception:
2011-03-28 22:55:49.0783 ERROR http-8080-1
org.apache.wicket.protocol.http.WebResponse - Unable to redirect to:
searchresults?value=2222&year=All&moviesIncluded=false&imagesIncluded=false&imageType=All&movieType=All&movieSize=Any,
HTTP Response has already been committed.
2011-03-28 22:55:49.0783 ERROR http-8080-1
org.apache.wicket.protocol.http.WicketFilter - closing the buffer error
java.lang.IllegalStateException
at
org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:435)
at
org.apache.wicket.protocol.http.WebResponse.sendRedirect(WebResponse.java:299)
at
org.apache.wicket.protocol.http.WebResponse.redirect(WebResponse.java:250)
at
org.apache.wicket.protocol.http.BufferedWebResponse.close(BufferedWebResponse.java:67)
at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:502)
at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
How would you pass in pageparameters through component tag?
Thank you
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/StatelessForm-redirect-tp3406282p3415450.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]