You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by Jason Novotny <no...@aei.mpg.de> on 2004/03/24 10:57:33 UTC

passing portal values in request params

Hi,

   In our portlet container, GridSphere,  I'm creating URI's that have 
embedded a "cid" parameter that the portal uses to invoke the right 
layout component containing the portlet. I see I'm failing 
GetParameterMapTest  and others in the TCK because it queries the 
request parameter map and expects ONLY the parameters that it put in 
there. Our impl of PortletURL puts a component id when making urls e.g.
http://www.gridsphere.org/gridsphere/gridsphere?cid=mylabel   allowing 
me to  handle navigation without using sessions. However, the TCK test 
puts params in the render method and checks the request parameter map 
contains only those in the next action method, making it impossible to 
for me to also pass values in the request it seems. Any ideas are 
greatly appreciated. As a hack I could write the req.getParam* methods 
to simply not return back the special portal request params, but that 
seems silly.

    Thanks, Jason