portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sean Taylor <d.tay...@onehippo.com>
Subject Re: Hide portlet
Date Wed, 24 Feb 2010 22:37:29 GMT
On Wed, Feb 24, 2010 at 5:02 AM, curro
<franciscojavier.rosado@avarmar.com>wrote:

> Hello
>
> I understand RenderRequest is a subinterface of PortletRequest. Then, I
> thought that doing in the doView method of my Portlet
> RenderRequest.setAttribute("HideDecorator", new Boolean(true)), works.
>
> But the attribute not comes to decorator.vm. I make
> RenderRequest.setAttribute("Qro", "qro") and not comes to decorator.vm.
>
> Look at the velocity code in the decorator:

   #set($hidePortlet = $renderRequest.getAttribute("js_${
jetspeed.CurrentFragment.Id}_HideDecorator"))

The attribute name is specific to the current fragment window id


>
> Please, What am I doing wrong? The issue JS2-710 is not clear for me. The
> method getPortletRequest() confused me.
>
>
ignore the getPortletRequest(), that is confusing, its just a plain old
renderRequest

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message