[jboss-user] [JBoss Portal] - Re: I can't see the tabs in my new portal.

PeterJ do-not-reply at jboss.com
Wed Sep 6 17:09:43 EDT 2006


Here is a *-object.xml file that declares a portal with two pages. Each page has a body portlet and the navigation portlet. Place this file in a WEB-INF within a war file and copy to the deploy folder.  This is for JBoss Portal 2.4.0.GA.

portalb-object.xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  | <deployments>
  |   <deployment>
  |     <if-exists>overwrite</if-exists>
  |     <parent-ref />
  |     <portal>
  |       <portal-name>PortalB</portal-name>
  |       <properties>
  |         <property>
  |           <name>portal.defaultObjectName</name>
  |           <value>Page1</value>
  |         </property>
  |         <property>
  |           <name>layout.id</name>
  |           <value>generic</value>
  |         </property>
  |         <property>
  |           <name>theme.id</name>
  |           <value>Nphalanx</value>
  |         </property>
  |         <property>
  |           <name>theme.renderSetId</name>
  |           <value>divRenderer</value>
  |         </property>
  |         <property>
  |           <name>layout.strategyId</name>
  |           <value>maximizedRegion</value>
  |         </property>
  |       </properties>
  |       <supported-modes>
  |         <mode>view</mode>
  |         <mode>edit</mode>
  |         <mode>help</mode>
  |       </supported-modes>
  |       <supported-window-states>
  |         <window-state>normal</window-state>
  |         <window-state>minimized</window-state>
  |         <window-state>maximized</window-state>
  |       </supported-window-states>
  |       <page>
  |         <page-name>Page1</page-name>
  |         <window>
  |           <window-name>Navigation</window-name>
  |           <instance-ref>NavigationPortletInstance</instance-ref>
  |           <region>navigation</region>
  |           <height>0</height>
  |           <properties>
  |             <property>
  |               <name>theme.windowRendererId</name>
  |               <value>emptyRenderer</value>
  |             </property>
  |             <property>
  |               <name>theme.decorationRendererId</name>
  |               <value>emptyRenderer</value>
  |             </property>
  |             <property>
  |               <name>theme.portletRendererId</name>
  |               <value>emptyRenderer</value>
  |             </property>
  |           </properties>
  |         </window>
  |         <window>
  |           <window-name>CMS</window-name>
  |           <instance-ref>CMSPortletInstance</instance-ref>
  |           <region>center</region>
  |           <height>0</height>
  |         </window>
  |       </page>
  |       <page>
  |         <page-name>Page2</page-name>
  |         <window>
  |           <window-name>Navigation</window-name>
  |           <instance-ref>NavigationPortletInstance</instance-ref>
  |           <region>navigation</region>
  |           <height>0</height>
  |           <properties>
  |             <property>
  |               <name>theme.windowRendererId</name>
  |               <value>emptyRenderer</value>
  |             </property>
  |             <property>
  |               <name>theme.decorationRendererId</name>
  |               <value>emptyRenderer</value>
  |             </property>
  |             <property>
  |               <name>theme.portletRendererId</name>
  |               <value>emptyRenderer</value>
  |             </property>
  |           </properties>
  |         </window>
  |         <window>
  |           <window-name>Image</window-name>
  |           <instance-ref>WeatherPortletInstance</instance-ref>
  |           <region>center</region>
  |           <height>0</height>
  |         </window>
  |       </page>
  |     </portal>
  |   </deployment>
  | </deployments>


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

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



More information about the jboss-user mailing list