Cant Read Variable From PageParameters (Wicket 1.4.6)

2010-03-01 Thread Ayodeji Aladejebi
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

Re: Cant Read Variable From PageParameters (Wicket 1.4.6)

2010-03-01 Thread Riyad Kalla
What happens when you use: http://localhost:8084/site2?param1=c ? On Mon, Mar 1, 2010 at 9:33 AM, Ayodeji Aladejebi aladej...@gmail.comwrote: Wicket Version 1.4.6 Link: http://localhost:8084/site2/?param1=c Code: paramValue= params.getString(param1, ); Output: paramValue returns empty

Re: Cant Read Variable From PageParameters (Wicket 1.4.6)

2010-03-01 Thread Ayodeji Aladejebi
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 rka...@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 aladej...@gmail.comwrote:

Re: Cant Read Variable From PageParameters (Wicket 1.4.6)

2010-03-01 Thread Riyad Kalla
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 aladej...@gmail.comwrote: The Link changes to http://localhost:8084/site2/?param1=c

Re: Cant Read Variable From PageParameters (Wicket 1.4.6)

2010-03-01 Thread Ayodeji Aladejebi
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

Re: Cant Read Variable From PageParameters (Wicket 1.4.6)

2010-03-01 Thread Riyad Kalla
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 aladej...@gmail.comwrote: My Bad :) private HomePage(PageParameters params); instead of public HomePage(PageParameters params); i just dont know how i typed private