StatelessForm doesn't work if GET method on form is used
--------------------------------------------------------

                 Key: WICKET-1580
                 URL: https://issues.apache.org/jira/browse/WICKET-1580
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.3
         Environment: Tomcat 6.0.16, JDK 1.5
            Reporter: Doug Donohoe
             Fix For: 1.3.4


As part of my effort to submit a form to a bookmarkable page, I discovered this 
bug when trying to uses a stateless form with the GET method of a form.  I've 
documented the code that generated this error at:

http://wiki.donohoedigital.com/wiki/Wiki.jsp?page=Bookmarkable%20Form%20Submission%20in%20Wicket

The original thread was 
http://www.nabble.com/submit-form-to-bookmarkable-page-to16912974.html

Post method seems to work fine.  The error message is: 

WicketMessage: Internal error parsing wicket:interface = 
%3A1%3Aform%3A%3AIFormSubmitListener%3A%3A 

Root cause: 


org.apache.wicket.WicketRuntimeException: Internal error parsing 
wicket:interface = %3A1%3Aform%3A%3AIFormSubmitListener%3A%3A 
at 
org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.addInterfaceParameters(WebRequestCodingStrategy.java:583)
 
at 
org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.addInterfaceParameters(WebRequestCodingStrategy.java:554)
 
at 
org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.decode(WebRequestCodingStrategy.java:199)
 
at org.apache.wicket.Request.getRequestParameters(Request.java:171) 
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1224) 
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1331) 
at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) 
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:363) 
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:194) 
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) 
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) 
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) 
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) 
at java.lang.Thread.run(Thread.java:613) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to