I've thought of a way of making my question clearer.
I have a web page with a form which is accessed thru a bookmarked url so the address looks like
http://localhost:8080/MyApp/myform
I submit the form and the validation fails, the url in the address bar now looks like this
http://localhost:8080/MyApp/myform?wicket:interface=:0:::I'd prefer not to see the "
?wicket:interface=:0:::" in the url. It's a implementation detail that nobody needs to see. Its not book-markable anymore, and it gives any malicious hacker out there too much info.
Is theres any way I can get wicket just to show the bookmarked url when it redisplays the page?
Cheers,
Phil.
igor.vaynberg wrote:
On 7/4/07, David Leangen <wicket@leangen.net> wrote:
>
> What I can't figure out here is this: when the form's submit button gets
> pressed on the current page, obvious a new HttpServletRequest gets sent to
> the server, and the onSubmit() method gets invoked.
>
> 1. What URL is sent to the server?
the url that is defined in form.action attribute in html. it tells wicket
that the form has been submitted, pointing out which one.
2. Since the response can differ according to the input
> of the form, this means that the URL could change
> according to the input... but the URL is already
> decided on in step 1
the url is the same but the post values are different.
-igor
-------------------------------------------------------------------------
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