I guess you forgot to call super(pageParameters) in your page ctor

On Sun, Apr 3, 2011 at 7:48 PM, devush <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to