[jboss-user] [JBoss Portal] - Difference between portlet-ref and component-ref - portlet i

dhoward0000 do-not-reply at jboss.com
Mon Oct 1 17:10:30 EDT 2007


I'm trying to figure out why with the below configuration, only the TestPortletInstance30 instance will get created.  Neither instance in the portlet-instances.xml is generated.  Any ideas?


jboss-app.xml:
<jboss-app>
  |    <app-name>appname</app-name>
  | </jboss-app>

portlet-instances.xml: 

<deployment>
  |         <instance>
  |             <instance-id>TestPortletInstance10</instance-id>
  |             <portlet-ref>appname.TestPortlet</portlet-ref>
  |         </instance>
  |  </deployment>
  | 
  | <deployment>
  |         <instance>
  |             <instance-id>TestPortletInstance20</instance-id>
  |             <portlet-ref>TestPortlet</portlet-ref>
  |         </instance>
  |  </deployment>

myapp-object.xml:

<deployment>
  |        <parent-ref/>
  |        <if-exists>overwrite</if-exists>
  |       <instance>
  |          <instance-name>TestPortletInstance30</instance-name>
  |          <component-ref>appname.TestPortlet</component-ref>
  |       </instance>
  |   </deployment>


Thanks.

 

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

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



More information about the jboss-user mailing list