Re: POST parameters in URL Problem
Hi, Upgrade to 1.5.5. This problem as introduced in 1.5.4 and reverted with https://issues.apache.org/jira/browse/WICKET-4338 in 1.5.5 On Wed, Mar 28, 2012 at 2:15 PM, Satrix satrix...@gmail.com wrote: Hello, I'm facing really strange behaviour in my wicket web application. I have two websites: 1. The first website at some point must send post data to another wicket website. The form code that's gonna transport post data: String form = form id='redirectForm' method='post' action=' + redirectTo + '; form += input type='hidden' name='transactionId' value=' + transactionId + '/; form += /form; form += ; 2.The second website lets say is working under http://localhost:8080/app/home Nothing fancy. Just a Post method and a hidden field with value. Everything works like a charm except that after the redirect is done I can see the parameter that was send by post method. The result looks like: http://localhost:8080/app/home?transactionId=1231231231 I use Apache Wicket 1.5 and to map requests to url's I use: new AnnotatedMountScanner().scanPackage(package.website).mount(this); Then on every web page I use annotations like: @MountPath(value = home) The HomePage has constructor with PageParameters. I can see those parameters in the PageParameters but my question is why is this parameter visible in the url? How can I change it ? Please point me in the right direction. Thank you in advance, Satrix -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/POST-parameters-in-URL-Problem-tp4512104p4512104.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: POST parameters in URL Problem
Hey Martin, I've tried and changed the wicket version to 1.5.5 but the problem still occurs :/ Any idea what can be wrong ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/POST-parameters-in-URL-Problem-tp4512104p4512167.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: POST parameters in URL Problem
When the second page (the one that the form action points to) is constructed its PageParameters should not have POST parameters, only GET (extracted from the request url). Create a quickstart that reproduces the problem and attach it to Jira. On Wed, Mar 28, 2012 at 2:42 PM, Satrix satrix...@gmail.com wrote: Hey Martin, I've tried and changed the wicket version to 1.5.5 but the problem still occurs :/ Any idea what can be wrong ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/POST-parameters-in-URL-Problem-tp4512104p4512167.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: POST parameters in URL Problem
Ahhh! It works :). I had some WAR related issues. I confirm that by uprading wicket version to 1.5.5 the problem with POST parameters in URL is fixed. Martin THANK YOU VERY MUCH, you made my day :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/POST-parameters-in-URL-Problem-tp4512104p4512185.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org