On second thought, if you have a portlet named SomePortlet, then here are the 
full ad complete contents for portlet-instances.xml and *-object.xml to get the 
portlet to show up on the default page:

portlet-instances.xml:
<deployments>
  |   <deployment>
  |     <instance>
  |       <instance-id>SomePortletInstance</instance-id>
  |       <portlet-ref>SomePortlet</portlet-ref>
  |     </instance>
  |   </deployment>
  | </deployments>

some-object.xml:
<deployments>
  |   <deployment>
  |     <if-exists>overwrite</if-exists>
  |     <parent-ref>default.default</parent-ref>
  |     <window>
  |       <window-name>SomePortletWindow</window-name>
  |       <instance-ref>SomePortletInstance</instance-ref>
  |       <region>center</region>
  |       <height>1</height>
  |     </window>
  |   </deployment>
  | </deployments>

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

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

Reply via email to