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-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Cant Read Variable From PageParameters (Wicket 1.4.6)
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 String I am using the default mount Settings. am I missing something - - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Cant Read Variable From PageParameters (Wicket 1.4.6)
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: 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-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Cant Read Variable From PageParameters (Wicket 1.4.6)
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 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.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-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Cant Read Variable From PageParameters (Wicket 1.4.6)
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 rka...@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 aladej...@gmail.comwrote: 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.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-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Cant Read Variable From PageParameters (Wicket 1.4.6)
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 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 rka...@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 aladej...@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 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.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-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org