hi,
in the jboss-portal deployment descriptor "*-object.xml" we can define portal, 
page ecc.
if we have a page like :

  |    <deployment>
  |         <if-exists>overwrite</if-exists>
  |         <parent-ref>default</parent-ref>
  |         <page>
  |             <page-name>MainPage</page-name>
  |             <window>
  |                 <window-name>ToolbarPortletWindow</window-name>
  |                 <instance-ref>ToolbarPortletInstance</instance-ref>
  |                 <region>menubar</region>
  |                 <height>0</height>
  |             </window>
  |             <window>
  |                 <window-name>NavigationPortletWindow</window-name>
  |                 <instance-ref>NavigationPortletInstance</instance-ref>
  |                 <region>navigator</region>
  |                 <height>0</height>
  |             </window>           
  |         </page>
  |    </deployment>   
  | 

it is possible to "extend" the already defined page "MainPage" in a way like :


  |  <deployment>
  |         <if-exists>overwrite</if-exists>
  |         <parent-ref>default</parent-ref>
  |         <page>
  |             <page-name>SecondPage</page-name>
  |             <extend>MainPage</extend>
  |             <window>
  |                 <window-name>New content</window-name>
  |                 <instance-ref>NewContentPortletInstance</instance-ref>
  |                 <region>center</region>
  |                 <height>0</height>
  |             </window>
  |         </page>
  |    </deployment>   
  | 

This can be usefull to decrease deployment descriptor and avoid typing errors 
when a lot of pages contains same portlet.
Thanks

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

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


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to