Page parameters always contribute to the final URL of the page (in your example with parameter "txt"). You can avoid this passing the value with a different technique, for example passing the textfield model via constructor. Something like:

StatelessForm<?> form = new StatelessForm<Void>("myForm") {
   protected void onSubmit() {
      setResponsePage(new NextPage(txt.getModel()));
}

yes, they are: "&txt=userprovided".



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-prevent-form-input-appended-as-URL-parameters-tp4655843p4655850.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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to