To remove the window state buttons you can set the windowrenderer to 
emptyrenderer.


  | <window>
  |                     <window-name>MyPortletWindow</window-name>
  |                     <instance-ref>
  |                             MyPortletInstance
  |                     </instance-ref>
  |                     <region>center</region>
  |                     <height>1</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>
  |                             <property>
  |                                     <name>theme.windowRendererId</name>
  |                                     <value>emptyRenderer</value>
  |                             </property>
  |                     </properties>
  |             </window>
  | 

As for the original issue, I tried digging into the source code, The request 
dispatcher seems to be returning null for the getMarkup() method if the 
TargetContext is anything other than portal-core. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066350#4066350

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066350
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to