here more description

I have a bookmarkable page  and an link to this page .
   mountBookmarkablePage("/createStorageLocation",
CreateNewStorageLocation.class);

Now  I want to call this page using setResponsePage()
and passing some parameters for which I am doing this 

                PageParameters  pageParameters= new PageParameters();
                pageParameters.add("param1", "testparam");
                setRedirect(true);
                setResponsePage(CreateNewStorageLocation.class,pageParameters);


api says     the parameters will get  appended to the url .
I am assunming the url  will be 
http://localhost/csr/secure/index.jas/createStorageLocation?cicr7=sai

but this is what is happening
http://localhost/csr/secure/index.jas/createStorageLocation/cicr7/sai/
 
Please help me understand hot to pass parameters to a page using 
                setResponsePage(APAge.class,PageParameters);


miro wrote:
> 
> I am using 
> 
> setRedirect(true);
> setResponsePage(MyPage.class,pageParameters);
> 
> in Mypage how can I retrieve pageParameters ? 
> 

-- 
View this message in context: 
http://www.nabble.com/retrieveing-page-parameters-tp19956410p19957051.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