> Maybe you can just keep a reference to the PageParameters in the constructor
> and then use it later.
We're actually thinking about whether we should keep a reference to
page parameters in the request cycle once it is passed in a page
constructor (so the relevant page constructor would set it on
mchack cisco.com> writes:
> Check this out.
>
> http://www.nabble.com/Mounted-pages-and-page-parameters-tf1626704.html#a4407375
>
> Wicket does encode path names (pairs) as parameters. Check the second post
> in the link above.
Yes it does and the params are indeed made available in PageParame
Check this out.
http://www.nabble.com/Mounted-pages-and-page-parameters-tf1626704.html#a4407375
Wicket does encode path names (pairs) as parameters. Check the second post
in the link above.
Kent Tong wrote:
>
> mchack cisco.com> writes:
>
>> I am trying to gain access to the value pair, in
mchack cisco.com> writes:
> I am trying to gain access to the value pair, in your example as
> encoded in the URL. The params.getString("p0") does return abc in the
> constructor. It returns null if I try to retrieve it via
> getRequest.getParameter("p0") in getVariation().
It's not a paramete
I am trying to gain access to the value pair, in your example as
encoded in the URL. The params.getString("p0") does return abc in the
constructor. It returns null if I try to retrieve it via
getRequest.getParameter("p0") in getVariation().
Kent Tong wrote:
>
> mchack cisco.com> writes:
>
mchack cisco.com> writes:
> I am using a mounted, bookmarkable page. I am passing in a parameter using
> the url syntax. This works fine when I access it via the Parameter object
> passed in at Page creation time. I would also expect that the parameter
> would be accessible via the request object
I am using a mounted, bookmarkable page. I am passing in a parameter using
the url syntax. This works fine when I access it via the Parameter object
passed in at Page creation time. I would also expect that the parameter
would be accessible via the request object and the parameter is not visible.