On Wed, Feb 24, 2010 at 5:02 AM, curro
<[email protected]>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

Reply via email to