After a little investigation it seems like it's a problem with using
Bookmarkable pages. If I don't use them I can get at the request, but using
Bookmarkable pages the requestMap is blank.

I notice somebody has already raised a bug for this.

For the moment I'll use a string tokenizer on the URL from the request
(which does return a value) and get my parameter from there.



Andrew Moore wrote:
> 
> Hi,
> I'm using wicket 1.2.5.
> I'm using newMarkupResourceStream to get dynamic html pages from an
> external location.
> 
> In the constructor of the page I'm using (final PageParameters parameters)
> to get at the parameters of the website.
> From here I can get a page parameter with
> parameters.getString("websiteId")
> 
> But as newMarkupResourceStream fires first, what approach should I use to
> get at request parameters.
> 
> I've tried getRequest().getParameter("websiteId"), but nothing is found,
> I've also tried getParameterMap() but it's size is 0.
> 
> I'm sure this is really simple, but cannot work out what method I should
> be using.
> Cheers
> Andrew
> 

-- 
View this message in context: 
http://www.nabble.com/Getting-at-the-http-request-parameters-from-inside-newMarkupResourceStream-tf3531369.html#a9856025
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to