[jboss-user] [JBoss Portal] - Re: header.jsp - How To?

rvkishore do-not-reply at jboss.com
Fri Jul 20 17:56:46 EDT 2007


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



More information about the jboss-user mailing list