yepp, use the setResponsePage(Page page) instead of setResponsePage(Class
pageClass) method - but be aware that the resulting page is bound to the
session and not reusable for other sessions, aka bookmarkable



miro wrote:
> 
> now are there  ways to hide   parameters from  url ie I want to pass 
> parameters but wont show them  in url ?  also   I doing a redirect from
> the caller.
> 
> Michael Sparer wrote:
>> 
>> Yepp you need one if you want your mounting strategies work ... and for
>> getPageParameters not returning null ;-)
>> 
>> 
>> miro wrote:
>>> 
>>> I dont have a constructor with PageParameters.Do I need one? , becasue
>>> if itr appended to the url I can retrieve it from request or
>>> getPageParameters()   
>>> 
>>> Pills wrote:
>>>> 
>>>> in your constructor that has a parameter PageParameters...
>>>> 
>>>> 
>>>> miro a écrit :
>>>>> where should I call super(params)  ?
>>>>>
>>>>> Michael Sparer wrote:
>>>>>   
>>>>>> then there either weren't any pageparams or you missed to call
>>>>>> super(params)
>>>>>>
>>>>>> regards,
>>>>>> Michael
>>>>>>
>>>>>>
>>>>>> miro wrote:
>>>>>>     
>>>>>>> I tried that , getPageParameters() was returning null .
>>>>>>>
>>>>>>> Michael Sparer wrote:
>>>>>>>       
>>>>>>>> getPageParameters()? Didn't you look at the API before posting? ;-)
>>>>>>>>
>>>>>>>>
>>>>>>>> miro wrote:
>>>>>>>>         
>>>>>>>>> I am using 
>>>>>>>>>
>>>>>>>>> setRedirect(true);
>>>>>>>>> setResponsePage(MyPage.class,pageParameters);
>>>>>>>>>
>>>>>>>>> in Mypage how can I retrieve pageParameters ? 
>>>>>>>>>
>>>>>>>>>           
>>>>>>>>         
>>>>>>>       
>>>>>>     
>>>>>
>>>>>   
>>>> 
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>> 
>>>> 
>>>> 
>>> 
>>> 
>> 
>> 
> 
> 


-----
Michael Sparer
http://talk-on-tech.blogspot.com
-- 
View this message in context: 
http://www.nabble.com/retrieveing-page-parameters-tp19956410p19958393.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to