Hello,

 

I need hide a portlet in function of his information on method doview. I
found a post where some persons were explaining like to do it, but I don't
understand it.
(http://old.nabble.com/How-can-I-hide-portlet-programmatically--td8691150.ht
ml)

 

They explained:

 

1)       The portlet calls: 
  getPortletRequest().setAttribute("HideDecorator", new Boolean(true))

2)       In webapps/jetspeed/decorations/portlet/decorator.vm I have
introduced 
variable $hidePortlet: 
  #set($hidePortlet = $renderRequest.getAttribute("js_${ 
jetspeed.CurrentFragment.Id}_HideDecorator"))

 

But I'm not able to obtain the Portlet request in the render phase. How can
I obtain the PortletRequest. Who receives the method getPortletRequest()?

With the renderrequest not works. My knowledge of portlets  and portals is
poor. Can someone help me?

 

Regards and Thanks a lot

Francisco ROsado

Reply via email to