1.4.18

On 09/16/2011 04:26 PM, Igor Vaynberg wrote:
what version of wicket?

-igor

On Thu, Sep 15, 2011 at 3:08 PM, Alexander Gubin<agu...@greatergood.net>  wrote:
Googled around, but no clear answer:

In my app I mount a page like this:

mount(new MixedParamUrlCodingStrategy("/store/product", ItemPage.class, new
String[]{"itemId", "itemName"}));

which gives me a URL

store/product/45336/some-name

I have a form on the resulting page, which on submit sends me to

store/?wicket:interface=:3:itemForm::IFormSubmitListener::

hence 404

looking at form's action I see
../../?wicket:interface=:3:itemForm::IFormSubmitListener::,

but I think I need ../?wicket:interface=:3:itemForm::IFormSubmitListener::

What am I doing wrong? Last two elements are parameters and should be
discounted, but seems like Wicket add's one extra "../" and misses mounted
page.

Are there better way of configuring Mounting / forms ?

Sincerely,

Alexander

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



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


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

Reply via email to