I have a problem with passing request parameters to a Wicket page.
Bookmarkable page is defined in init method in WebApplication class like
this:
mountBookmarkablePage("/somepage", SomePage.class);
When I try to send parameters to that page from the form below:
<form action="http://someAddress/ApplicationName/app/somepage"
method="post">
<input type="text" name="param1" id="param1"/><br />
<input type="submit"/>
</form>
The SomePage doesn't get request parameter param1 from PageParameters
object.
But when I change action attribute in form to (add otherParm and any value):
http://someAddress/ApplicationName/app/somepage/otherParm/2
Then parm1 comes to the page also.
Why is that happening and how can I use
http://someAddress/ApplicationName/app/somepage
without the bogus otherParm parameter?
Thanks for the help :)
--
View this message in context:
http://www.nabble.com/PageParameters-and-bookmarkable-page-tf4055438.html#a11519579
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user