The portlet controls are displayed by the theme. You can disable all content external to the actual portlet content by creating a custom theme.
Actually I'm using my custom theme, but the decorations and controls are still being displayed. This is because the
org.jboss.portal.core.theme.render.impl.DivDecorationRenderer is instantiated, which generates a table e.g. with the portlet title and I do not how to avoid this.
This is what my portal-themes.xml looks like
<themes> <theme> <name>myportal</name> <link href="/myportal.css" title="" rel="stylesheet" type="text/css" media="screen" /> </theme> </themes>
Am I missing an element here to prevent decorations & controls rendering?
I haven't test this yet, but you may want to try using the emtpyRenderer instead of the divRenderer. I believe thats what its there for.
We decompiled those darn divRenderer classes... and made our own....
That's what you gotta do to get rid of those pesky window controls.
Thanks, this works for me with the emptyRenderer. I changed the element in default-portal.xml now to
<property> <name>org.jboss.portal.property.renderSet</name> <value>emptyRenderer</value> </property>