-
1. Re: org.jboss.portal.property.nodecoration ignored??
mholzner Jan 3, 2006 2:24 PM (in response to anson.smith)where did you get the idea of using the nodecoration property ?
This shouldn't be in the docs nore in the samples. If it is, please accept my appologies.
The correct way to do this is by using the window properties, but instead of setting the nodecoration prop, you can now specify the renderSet from which you want the renderer to be taken. In your case you want the decoration renderer from the emptyRenderer renderSet. There is an example for that in the Test pages (theme test), but here is a snippet of the required window properties:<window> <window-name>NavigationPortletWindow</window-name> <instance-ref>NavigationPortletInstance</instance-ref> <region>navigation</region> <height>0</height> <properties> <!-- use the window renderer from the emptyRenderer renderSet --> <property> <name>theme.windowRendererId</name> <value>emptyRenderer</value> </property> <!-- use the decoration renderer from the emptyRenderer renderSet --> <property> <name>theme.decorationRendererId</name> <value>emptyRenderer</value> </property> <!-- use the portlet renderer from the emptyRenderer renderSet --> <property> <name>theme.portletRendererId</name> <value>emptyRenderer</value> </property> </properties> </window>
-
2. Re: org.jboss.portal.property.nodecoration ignored??
anson.smith Jan 3, 2006 2:40 PM (in response to anson.smith)Thanks for the reply that worked like a charm.
I got the Idea for the nodecoration prop from here.
http://docs.jboss.com/jbportal/v2.2/reference-guide/en/html/themeandlayouts.html
Section 5.6.3. Disabling Portlet Decoration
Anyway, Thanks again
Anson SMith -
3. Re: org.jboss.portal.property.nodecoration ignored??
mholzner Jan 3, 2006 2:44 PM (in response to anson.smith)ooops, sorry. that should not have made it into the final doc.
It's corrected in cvs. Sorry for that! -
4. Re: org.jboss.portal.property.nodecoration ignored??
schnelzer Jan 12, 2006 10:52 AM (in response to anson.smith)Can the corrected version of the docs be posted to the download link?
-
5. Re: org.jboss.portal.property.nodecoration ignored??
roy.russo Jan 13, 2006 9:00 AM (in response to anson.smith)I will build and update the docs online tonight.