You can render a portlet instantly in header.vm. For example,

$jetspeed.renderPortletWindow("demo::HelloPortlet", "demo::HelloPortlet")

And you will be able to share the portlet session attributes between portlets 
or you can use portlet events.

HTH,

Woonsan

--- On Thu, 3/17/11, anyz <[email protected]> wrote:

> From: anyz <[email protected]>
> Subject: How to access Portlet Session in Header.vm
> To: "Jetspeed Users List" <[email protected]>
> Date: Thursday, March 17, 2011, 1:56 PM
> I need to display some information in
> Header.vm that is set by a portlet.
> For example double click on one of the table row displayed
> in Portlet and it
> refreshes the page. When reloaded it needs to show the
> record number in
> Header.vm file.
> 
> I have checked that in VM file we can access the attribtues
> set in http
> session or Portal Session but not one set in Portlet
> Session.  I tried
> following code:
> 
>   #foreach($item in
> $renderRequest.getPortletSession().getAttributeNames())
>    $item
>   #end
> But it prints only one attribute in portlet session and
> that is used by
> Jetspeed it self.
> 
> Thanks
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to