[jboss-user] [JBoss Portal] - Re: Problem adding navigation portlet to page
tkornechuk
do-not-reply at jboss.com
Wed Sep 27 12:14:43 EDT 2006
I just ran into this same issue.
In my *-obect.xml I have the following:
<if-exists>overwrite</if-exists>
<parent-ref>default</parent-ref>
<page-name>Content<page-name>
<window-name>MyPortletWindow</window-name>
<instance-ref>MyNewPortletInstance</instance-ref>
center
0
<window-name>MyNav</window-name>
<instance-ref>NavigationPortletInstance</instance-ref>
navigation
0
0
<security-constraint>
<policy-permission>
<role-name>User</role-name>
<action-name>viewrecursive</action-name>
</policy-permission>
<policy-permission>
<role-name>Admin</role-name>
<action-name>viewrecursive</action-name>
<action-name>personalizerecursive</action-name>
</policy-permission>
</security-constraint>
<if-exists>overwrite</if-exists>
<instance-name>MyNewPortletInstance</instance-name>
<component-ref>myportlet.MyPortlet</component-ref>
and in my portlet-instances.xml, I have the following:
<?xml version="1.0" standalone="yes"?>
<if-exists>overwrite</if-exists>
<instance-id>MyNewPortletInstance</instance-id>
<portlet-ref>MyPortlet</portlet-ref>
<instance-id>NavigationPortletInstance</instance-id>
<portlet-ref>NavigationPortlet</portlet-ref>
This works great. I'm now struggling with trying to set the theme.windowRendererId, theme.decorationRendererId, and theme.portletRendererId in the descriptor. If you come up with a solution for that, I'd appreciate you sharing it with me.
Regards,
Thom
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974597#3974597
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974597
More information about the jboss-user
mailing list