You need to create a portlet-instanxes.xml file and move the 'instance' entry 
from MyPortlet-object.xml to there. Thus portlet-instances.xml should contain:

<deployments>
  |   <deployment>
  |     <instance>
  |       <instance-id>MyPortletInstance</instance-id>
  |       <portlet-ref>MyPortlet</portlet-ref>
  |     </instance>
  |   </deployment>
  | </deployments>

and MyPortlet-object.xml should contain:

<deployments>
  |     <deployment>
  |             <if-exists>overwrite</if-exists>
  |             <parent-ref>default</parent-ref>
  |             <properties />
  |             <page>
  |                     <page-name>MyPortlet Tutorial</page-name>
  |                     <properties />
  |                     <window>
  |                             <window-name>MyPortletWindow</window-name>
  |                             <instance-ref>MyPortletInstance</instance-ref>
  |                             <region>center</region>
  |                             <height>0</height>
  |                     </window>
  |             </page>
  |     </deployment>
  | </deployments>

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181098
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to