havent used that strategy myself, so no clues. had this been 1.5.x id
be able to help more. debug and see why you are getting the wrong
path.

-igor

On Tue, Sep 20, 2011 at 10:47 PM, Alexander Gubin
<agu...@greatergood.com> wrote:
> so, Igor, any clues?
>
> On Sep 19, 2011, at 8:56 AM, Alexander Gubin wrote:
>
>> 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
>>
>
>

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

Reply via email to