On Mon, Jan 28, 2013 at 9:30 PM, heikki <[email protected]> wrote:

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

this comes from:
 final String txtValue = txt.getModelObject();
      PageParameters pageParameters = new PageParameters();
      pageParameters.add("txt", txtValue);
      setResponsePage(NextPage.class, pageParameters);
 <<<<<<<<<<
}

from your first mail I understood that the POST parameters from the form
submittion end in the final url
So it seems there is just one parameter and you manually transfer it ...

You can read it in NextPage's constructor and remove it from the passed
PageParameters (also reachable with page#getPageParameters()):
params.remove("txt")



>
>
> --
> 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]
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to