25.6.3. Disabling Portlet Decoration

One possible use of window properties is demonstrated in the divRenderer RenderSet implementation. If a window definition (in the portal descriptor) contains a property like:
               <window>
   <window-name>HintPortletWindow</window-name>
   <instance-ref>HintPortletInstance</instance-ref>
   <region>center</region>
   <height>0</height>
   <properties>
      <!-- turn the decoration off for this portlet (i.e. no title and mode/state links) -->
      <property>
         <name>theme.decorationRendererId</name>
         <value>emptyRenderer</value>
      </property>
   </properties>
</window>
the DivWindowRenderer will use the decoration renderer from the emptyRenderer RenderSet to render the decoration for this window (not delegate to the DivDecorationRenderer). As a result, the portlet window will be part of the rendered page, but it will not have a title, nor will it have any links to change the portlet mode or window state.