Re: [Wicket-user] Parameter access at Page creation not consistent with request object

2007-06-05 Thread Eelco Hillenius
> 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

Re: [Wicket-user] Parameter access at Page creation not consistent with request object

2007-06-05 Thread Kent Tong
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

Re: [Wicket-user] Parameter access at Page creation not consistent with request object

2007-06-05 Thread mchack
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

Re: [Wicket-user] Parameter access at Page creation not consistent with request object

2007-06-05 Thread Kent Tong
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

Re: [Wicket-user] Parameter access at Page creation not consistent with request object

2007-06-04 Thread mchack
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: >

Re: [Wicket-user] Parameter access at Page creation not consistent with request object

2007-06-03 Thread Kent Tong
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

[Wicket-user] Parameter access at Page creation not consistent with request object

2007-05-31 Thread mchack
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.