this should work, do you have a quickstart that demonstrates this?



On 7/10/07, Goran <[EMAIL PROTECTED]> wrote:


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-tf4054941.html#a11518078
Sent from the Wicket - Dev mailing list archive at Nabble.com.


Reply via email to