[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default

kpalania do-not-reply at jboss.com
Tue Aug 21 16:12:01 EDT 2007


I am editing the default-object.xml file bundled with my portlets. I've verified that this file gets picked up now.

This is how my entry looks in portlet-instances.xml -

   <deployment>
  |          <instance>
  |             <instance-id>SomePortletInstance</instance-id>
  |             <portlet-ref>SomePortlet</portlet-ref>
  |          </instance>
  |    </deployment>

..and this is how my entry in the default-object.xml looks like:

         <security-constraint>
  |             <policy-permission>
  |                <action-name>viewrecursive</action-name>
  |                <role-name>Admin</role-name>
  |             </policy-permission>
  |          </security-constraint>
  |          <page>
  |             <page-name>default</page-name>
  |             <window>
  |                <window-name>AdminPortletWindow</window-name>
  |                <instance-ref>SomePortletInstance</instance-ref>
  |                <region>center</region>
  |                <height>0</height>
  |             </window>
  |          </page>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076473#4076473

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076473



More information about the jboss-user mailing list