Re: [Wicket-user] Submit method problem
On Mon, 16 Jul 2007, Eelco Hillenius wrote: Note that with Wicket 1.3 you configure a filter instead of a servlet and map that to /* without problems. BTW, on Websphere 6.0, we couldn't get the resource paths working with the filter on 1.3. After a while of debugging, we resorted to using the servlet as a workaround and it worked as expected (with non-empty context path). - Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Submit method problem
Hi, I have an unusual problem. I have a WebPage wich has a form in it. onSubmit method has some code that executes when submit button is pushed. Everithing works fine when I deploy application to Tomcat 5.5. But when I deploy the same code to WebSphere 5 app. server, whem submit button is pushed application doesn't execute onSubmit method but constructor of the WebPage again, and the WebPage simply refreshes. Has samebody had similar problem, and how did you solve it? -- View this message in context: http://www.nabble.com/Submit-method-problem-tf4085136.html#a11611000 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Submit method problem
It is not a general problem, at least to my knowledge. Can you state which version of Wicket you are using? And could you show the different action url's generated on both platforms? Is websphere behind a proxy? must... need... more... information... :) Martijn On 7/16/07, Goran Novak [EMAIL PROTECTED] wrote: Hi, I have an unusual problem. I have a WebPage wich has a form in it. onSubmit method has some code that executes when submit button is pushed. Everithing works fine when I deploy application to Tomcat 5.5. But when I deploy the same code to WebSphere 5 app. server, whem submit button is pushed application doesn't execute onSubmit method but constructor of the WebPage again, and the WebPage simply refreshes. Has samebody had similar problem, and how did you solve it? -- View this message in context: http://www.nabble.com/Submit-method-problem-tf4085136.html#a11611000 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Wicket joins the Apache Software Foundation as Apache Wicket Apache Wicket 1.3.0-beta2 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Submit method problem
I'm using wicket 1.2.5. Servlet specification: 2.3 Java 1.4.2_13 Tomcat: action=/SomeApp?wicket:interface=:1:termsForm::IFormSubmitListener wicket:id=termsForm method=post id=termsForm input type=hidden name=termsForm:hf:0 id=termsForm:hf:0 / WebSphere: action=/SomeApp?wicket:interface=:1:termsForm::IFormSubmitListener wicket:id=termsForm method=post id=termsForm input type=hidden name=smsCodeForm:hf:0 id=smsCodeForm:hf:0 / They seem the same. WebSphere is behind a proxy, but i tryed to access application directly and still the result is the same. Martijn Dashorst wrote: It is not a general problem, at least to my knowledge. Can you state which version of Wicket you are using? And could you show the different action url's generated on both platforms? Is websphere behind a proxy? must... need... more... information... :) Martijn On 7/16/07, Goran Novak [EMAIL PROTECTED] wrote: Hi, I have an unusual problem. I have a WebPage wich has a form in it. onSubmit method has some code that executes when submit button is pushed. Everithing works fine when I deploy application to Tomcat 5.5. But when I deploy the same code to WebSphere 5 app. server, whem submit button is pushed application doesn't execute onSubmit method but constructor of the WebPage again, and the WebPage simply refreshes. Has samebody had similar problem, and how did you solve it? -- View this message in context: http://www.nabble.com/Submit-method-problem-tf4085136.html#a11611000 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Wicket joins the Apache Software Foundation as Apache Wicket Apache Wicket 1.3.0-beta2 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Submit-method-problem-tf4085136.html#a11611191 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Submit method problem
I found what was the problem. In web.xml in WicketServlet servlet mapping I had url-pattern/*/url-pattern When I changed it to default url-pattern/app/*/url-pattern everything works fine. I'm using wicket 1.2.5. Servlet specification: 2.3 Java 1.4.2_13 Tomcat: action=/SomeApp?wicket:interface=:1:termsForm::IFormSubmitListener wicket:id=termsForm *** trimed/ It is not a general problem, at least to my knowledge. Can you state which version of Wicket you are using? And could you *** trimed/ -- View this message in context: http://www.nabble.com/Submit-method-problem-tf4085136.html#a11611991 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Submit method problem
I found what was the problem. In web.xml in WicketServlet servlet mapping I had url-pattern/*/url-pattern When I changed it to default url-pattern/app/*/url-pattern everything works fine. Note that with Wicket 1.3 you configure a filter instead of a servlet and map that to /* without problems. Eelco - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user