Re: Form submit without URL modification

2013-12-21 Thread Per Newgro

Hi Nick,

we do a setResponsePage(this.getPageClass(), this getPageParameters()) 
at the end of the submit.

Then the url is the same as before.

Hth
Per

Am 20.12.2013 20:08, schrieb Nick Pratt:

Is it possible to create a form submission that hits a specific URL and
doesn't modify the original URL displayed in the browser.

e.g. I have a single simple Page, that has a StatelessForm on it. I hit
this via http://localhost:8080/
When I hit the form submit button, the URL in the browser changes to:
http://localhost:8080//?-1.IFormSubmitListener-form

Im trying to create a button that can always be clicked regardless of
Wicket session expiration and that doesnt modify the URL - is this possible?

N




---
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz 
ist aktiv.
http://www.avast.com


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Form submit without URL modification

2013-12-20 Thread Nick Pratt
Is it possible to create a form submission that hits a specific URL and
doesn't modify the original URL displayed in the browser.

e.g. I have a single simple Page, that has a StatelessForm on it. I hit
this via http://localhost:8080/
When I hit the form submit button, the URL in the browser changes to:
http://localhost:8080//?-1.IFormSubmitListener-form

Im trying to create a button that can always be clicked regardless of
Wicket session expiration and that doesnt modify the URL - is this possible?

N