You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by devush <de...@gmail.com> on 2011/04/03 18:48:02 UTC
IndexedParamUrlCodingStrategy pageparameter null
Hi,
(Wicket 1.4.8 in the development mode)
I am mounting my page like this:
mount(new IndexedParamUrlCodingStrategy("/i/about", AboutPage.class));
I am able to call "/i/about" without any problems, but when I call
"/i/about/somevalue" I expect to have PageParameters not null.
I am calling this in my web page, but p is always null.
PageParameters p = getPageParameters();
Is not that the PageParameters should have 0=somevalue, which i should
be getting by p.getString("0");
thanks,
devush
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: IndexedParamUrlCodingStrategy pageparameter null
Posted by devush <de...@gmail.com>.
Hi,
Thanks, yes I have ignored that. It is now working. You have saved my weekend!
thanks
devush
PS: Sorry, by mistake I directly replied to Martin.
On 3 April 2011 17:54, Martin Grigorov <mg...@apache.org> wrote:
> I guess you forgot to call super(pageParameters) in your page ctor
>
> On Sun, Apr 3, 2011 at 7:48 PM, devush <de...@gmail.com> wrote:
>>
>> Hi,
>>
>> (Wicket 1.4.8 in the development mode)
>>
>> I am mounting my page like this:
>>
>> mount(new IndexedParamUrlCodingStrategy("/i/about", AboutPage.class));
>>
>> I am able to call "/i/about" without any problems, but when I call
>> "/i/about/somevalue" I expect to have PageParameters not null.
>>
>> I am calling this in my web page, but p is always null.
>> PageParameters p = getPageParameters();
>>
>> Is not that the PageParameters should have 0=somevalue, which i should
>> be getting by p.getString("0");
>>
>>
>> thanks,
>> devush
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: IndexedParamUrlCodingStrategy pageparameter null
Posted by Martin Grigorov <mg...@apache.org>.
I guess you forgot to call super(pageParameters) in your page ctor
On Sun, Apr 3, 2011 at 7:48 PM, devush <de...@gmail.com> wrote:
> Hi,
>
> (Wicket 1.4.8 in the development mode)
>
> I am mounting my page like this:
>
> mount(new IndexedParamUrlCodingStrategy("/i/about", AboutPage.class));
>
> I am able to call "/i/about" without any problems, but when I call
> "/i/about/somevalue" I expect to have PageParameters not null.
>
> I am calling this in my web page, but p is always null.
> PageParameters p = getPageParameters();
>
> Is not that the PageParameters should have 0=somevalue, which i should
> be getting by p.getString("0");
>
>
> thanks,
> devush
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>