-
1. Re: Window decorations and controls
dsicore Jun 10, 2005 4:06 PM (in response to martingi)
The portlet controls are displayed by the theme. You can disable all content external to the actual portlet content by creating a custom theme. -
2. Re: Window decorations and controls
martingi Jun 11, 2005 1:02 PM (in response to martingi)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? -
3. Re: Window decorations and controls
roy.russo Jun 11, 2005 1:05 PM (in response to martingi)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.
-
4. Re: Window decorations and controls
dsicore Jun 11, 2005 1:07 PM (in response to martingi)We decompiled those darn divRenderer classes... and made our own....
That's what you gotta do to get rid of those pesky window controls. -
5. Re: Window decorations and controls
martingi Jun 11, 2005 1:39 PM (in response to martingi)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>