You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ayodeji Aladejebi <al...@gmail.com> on 2010/03/01 17:33:57 UTC

Cant Read Variable From PageParameters (Wicket 1.4.6)

Wicket Version 1.4.6

Link: http://localhost:8084/site2/?param1=c

Code: paramValue= params.getString("param1", "");

Output: paramValue returns empty String

I am using the default mount Settings.

am I missing something


-

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


Re: Cant Read Variable From PageParameters (Wicket 1.4.6)

Posted by Riyad Kalla <rk...@gmail.com>.
Ah! I love things that are that easy to fix. Glad it's working now.

On Mon, Mar 1, 2010 at 11:51 AM, Ayodeji Aladejebi <al...@gmail.com>wrote:

> My Bad :)
>
> private HomePage(PageParameters params);
>
> instead of public HomePage(PageParameters params);
>
> i just dont know how i typed private instead of public. So it was the
> default empty constructor that was getting called instead
>
> Thanks
>
>
> On Mon, Mar 1, 2010 at 7:19 PM, Riyad Kalla <rk...@gmail.com> wrote:
> > Can you paste the code for the page that isn't working? You have a
> > constructor for that page that takes a PageParameters arg that you named
> > 'params' right?
> >
> >
> >
> > On Mon, Mar 1, 2010 at 11:15 AM, Ayodeji Aladejebi <aladejebi@gmail.com
> >wrote:
> >
> >> The Link changes to http://localhost:8084/site2/?param1=c
> >> still the same problem
> >>
> >> On Mon, Mar 1, 2010 at 5:40 PM, Riyad Kalla <rk...@gmail.com> wrote:
> >> > What happens when you use:
> >> > http://localhost:8084/site2?param1=c
> >> >
> >> > ?
> >> >
> >> > On Mon, Mar 1, 2010 at 9:33 AM, Ayodeji Aladejebi <
> aladejebi@gmail.com
> >> >wrote:
> >> >
> >> >> Wicket Version 1.4.6
> >> >>
> >> >> Link: http://localhost:8084/site2/?param1=c
> >> >>
> >> >> Code: paramValue= params.getString("param1", "");
> >> >>
> >> >> Output: paramValue returns empty String
> >> >>
> >> >> I am using the default mount Settings.
> >> >>
> >> >> am I missing something
> >> >>
> >> >>
> >> >> -
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> >> For additional commands, e-mail: users-help@wicket.apache.org
> >> >>
> >> >>
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Cant Read Variable From PageParameters (Wicket 1.4.6)

Posted by Ayodeji Aladejebi <al...@gmail.com>.
My Bad :)

private HomePage(PageParameters params);

instead of public HomePage(PageParameters params);

i just dont know how i typed private instead of public. So it was the
default empty constructor that was getting called instead

Thanks


On Mon, Mar 1, 2010 at 7:19 PM, Riyad Kalla <rk...@gmail.com> wrote:
> Can you paste the code for the page that isn't working? You have a
> constructor for that page that takes a PageParameters arg that you named
> 'params' right?
>
>
>
> On Mon, Mar 1, 2010 at 11:15 AM, Ayodeji Aladejebi <al...@gmail.com>wrote:
>
>> The Link changes to http://localhost:8084/site2/?param1=c
>> still the same problem
>>
>> On Mon, Mar 1, 2010 at 5:40 PM, Riyad Kalla <rk...@gmail.com> wrote:
>> > What happens when you use:
>> > http://localhost:8084/site2?param1=c
>> >
>> > ?
>> >
>> > On Mon, Mar 1, 2010 at 9:33 AM, Ayodeji Aladejebi <aladejebi@gmail.com
>> >wrote:
>> >
>> >> Wicket Version 1.4.6
>> >>
>> >> Link: http://localhost:8084/site2/?param1=c
>> >>
>> >> Code: paramValue= params.getString("param1", "");
>> >>
>> >> Output: paramValue returns empty String
>> >>
>> >> I am using the default mount Settings.
>> >>
>> >> am I missing something
>> >>
>> >>
>> >> -
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> >> For additional commands, e-mail: users-help@wicket.apache.org
>> >>
>> >>
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>

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


Re: Cant Read Variable From PageParameters (Wicket 1.4.6)

Posted by Riyad Kalla <rk...@gmail.com>.
Can you paste the code for the page that isn't working? You have a
constructor for that page that takes a PageParameters arg that you named
'params' right?



On Mon, Mar 1, 2010 at 11:15 AM, Ayodeji Aladejebi <al...@gmail.com>wrote:

> The Link changes to http://localhost:8084/site2/?param1=c
> still the same problem
>
> On Mon, Mar 1, 2010 at 5:40 PM, Riyad Kalla <rk...@gmail.com> wrote:
> > What happens when you use:
> > http://localhost:8084/site2?param1=c
> >
> > ?
> >
> > On Mon, Mar 1, 2010 at 9:33 AM, Ayodeji Aladejebi <aladejebi@gmail.com
> >wrote:
> >
> >> Wicket Version 1.4.6
> >>
> >> Link: http://localhost:8084/site2/?param1=c
> >>
> >> Code: paramValue= params.getString("param1", "");
> >>
> >> Output: paramValue returns empty String
> >>
> >> I am using the default mount Settings.
> >>
> >> am I missing something
> >>
> >>
> >> -
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Cant Read Variable From PageParameters (Wicket 1.4.6)

Posted by Ayodeji Aladejebi <al...@gmail.com>.
The Link changes to http://localhost:8084/site2/?param1=c
still the same problem

On Mon, Mar 1, 2010 at 5:40 PM, Riyad Kalla <rk...@gmail.com> wrote:
> What happens when you use:
> http://localhost:8084/site2?param1=c
>
> ?
>
> On Mon, Mar 1, 2010 at 9:33 AM, Ayodeji Aladejebi <al...@gmail.com>wrote:
>
>> Wicket Version 1.4.6
>>
>> Link: http://localhost:8084/site2/?param1=c
>>
>> Code: paramValue= params.getString("param1", "");
>>
>> Output: paramValue returns empty String
>>
>> I am using the default mount Settings.
>>
>> am I missing something
>>
>>
>> -
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>

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


Re: Cant Read Variable From PageParameters (Wicket 1.4.6)

Posted by Riyad Kalla <rk...@gmail.com>.
What happens when you use:
http://localhost:8084/site2?param1=c

?

On Mon, Mar 1, 2010 at 9:33 AM, Ayodeji Aladejebi <al...@gmail.com>wrote:

> Wicket Version 1.4.6
>
> Link: http://localhost:8084/site2/?param1=c
>
> Code: paramValue= params.getString("param1", "");
>
> Output: paramValue returns empty String
>
> I am using the default mount Settings.
>
> am I missing something
>
>
> -
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>