[jboss-user] [JBoss Portal] - Re: pages in dashboard

eagleIT do-not-reply at jboss.com
Mon May 21 09:39:25 EDT 2007


I give you my "default-object.xml" :


  | <?xml version="1.0" encoding="UTF-8"?>
  | <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  |   ~ JBoss, a division of Red Hat                                              ~
  |   ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
  |   ~ contributors as indicated by the @authors tag. See the                    ~
  |   ~ copyright.txt in the distribution for a full listing of                   ~
  |   ~ individual contributors.                                                  ~
  |   ~                                                                           ~
  |   ~ This is free software; you can redistribute it and/or modify it           ~
  |   ~ under the terms of the GNU Lesser General Public License as               ~
  |   ~ published by the Free Software Foundation; either version 2.1 of          ~
  |   ~ the License, or (at your option) any later version.                       ~
  |   ~                                                                           ~
  |   ~ This software is distributed in the hope that it will be useful,          ~
  |   ~ but WITHOUT ANY WARRANTY; without even the implied warranty of            ~
  |   ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU          ~
  |   ~ Lesser General Public License for more details.                           ~
  |   ~                                                                           ~
  |   ~ You should have received a copy of the GNU Lesser General Public          ~
  |   ~ License along with this software; if not, write to the Free               ~
  |   ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA        ~
  |   ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.                  ~
  |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
  | 
  | <!DOCTYPE deployments PUBLIC
  |    "-//JBoss Portal//DTD Portal Object 2.6//EN"
  |    "http://www.jboss.org/portal/dtd/portal-object_2_6.dtd">
  |    
  | <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  | 
  | 						PORTAIL CPAGE
  | 
  | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
  |    
  | 
  |    
  | <deployments>
  |    <deployment>
  |       <parent-ref/>
  |       <if-exists>overwrite</if-exists>
  |       <portal>
  |          <portal-name>default</portal-name>
  |          <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>
  |          <properties>
  |             <!--
  |             | Set the layout for the default portal, see also portal-layouts.xml.
  |             -->
  |             <property>
  |                <name>layout.id</name>
  |                <value>CPage1Col</value>
  |             </property>
  |             <!--
  |             | Set the theme for the default portal, see also portal-themes.xml.
  |             -->
  |             <property>
  |                <name>theme.id</name>
  |                <value>renaissance</value>
  |             </property>
  |             <!--
  |             | Set the default render set name (used by the render tag in layouts), see also portal-renderSet.xml
  |             -->
  |             <property>
  |                <name>theme.renderSetId</name>
  |                <value>divRenderer</value>
  |             </property>
  |             <!--
  |             | Set the default strategy name (used by the strategy interceptor), see also portal-strategies.xml
  |             -->
  |             <property>
  |                <name>layout.strategyId</name>
  |                <value>maximizedRegion</value>
  |             </property>
  |             <!--
  |             | The default page name, if the property is not explicited then the default page name is "default"
  |             -->
  |             <property>
  |                <name>portal.defaultObjectName</name>
  |                <value>default</value>
  |             </property>	    
  | 	    
  |          </properties>      
  |       
  | 	 
  | 	 	          <!--PAGE DEFAULT-->
  | 	 
  | 	<page>
  |             <page-name>default</page-name>
  |             <window>
  |                <window-name>CatalogPortlet</window-name>
  |                <instance-ref>CatalogPortletInstance</instance-ref>
  |                <region>center</region>
  |                <height>0</height>
  |             </window>
  |          </page>
  | 
  | 	 
  |       </portal>
  |       
  |    </deployment>
  |    
  |    
  | <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  | 
  | 						PORTAIL DASHBOARD										
  | 
  | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
  |    
  |    
  |    <deployment>
  |       <parent-ref/>
  |       <if-exists>keep</if-exists>
  |       <context>
  |          <context-name>dashboard</context-name>
  |          <properties>
  | 
  |             <!--
  |             | Set the layout for the default portal, see also portal-layouts.xml.
  |             -->
  |             <property>
  |                <name>layout.id</name>
  |                <value>generic</value>
  |             </property>
  | 
  |             <!--
  |             | Set the theme for the default portal, see also portal-themes.xml.
  |             -->
  |             <property>
  |                <name>theme.id</name>
  |                <value>renaissance</value>
  |             </property>
  | 
  |             <!--
  |             | Set the default render set name (used by the render tag in layouts), see also portal-renderSet.xml
  |             -->
  |             <property>
  |                <name>theme.renderSetId</name>
  |                <value>divRenderer</value>
  |             </property>
  | 
  |             <!--
  |             | Set the dashboard property
  |             -->
  |             <property>
  |                <name>dashboard</name>
  |                <value>true</value>
  |             </property>
  | 
  |             <!--
  |             | Set the dnd property
  |             -->
  |             <property>
  |                <name>theme.dyna.dnd_enabled</name>
  |                <value>true</value>
  |             </property>
  | 
  |             <!--
  |             | Set the partial refresh property
  |             -->
  |             <property>
  |                <name>theme.dyna.partial_refresh_enabled</name>
  |                <value>true</value>
  |             </property>
  | 
  |          </properties>
  | 	 
  |       </context>
  |    </deployment>
  |    
  |    
  |  <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  | 
  | 						PORTAIL TEMPLATE
  | 
  | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
  |   
  |    
  |    
  |   <deployment>
  |       <parent-ref/>
  |       <if-exists>keep</if-exists>
  |       <portal>
  |          <portal-name>template</portal-name>
  |          <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>
  |          <properties>
  |             <!--
  |             | Set the layout for the default portal, see also portal-layouts.xml.
  |             -->
  |             <property>
  |                <name>layout.id</name>
  |                <value>generic</value>
  |             </property>
  |             <!--
  |             | Set the theme for the default portal, see also portal-themes.xml.
  |             -->
  |             <property>
  |                <name>theme.id</name>
  |                <value>renaissance</value>
  |             </property>
  |             <!--
  |             | Set the default render set name (used by the render tag in layouts), see also portal-renderSet.xml
  |             -->
  |             <property>
  |                <name>theme.renderSetId</name>
  |                <value>divRenderer</value>
  |             </property>
  |             <!--
  |             | The default page name, if the property is not explicited then the default page name is "default"
  |             -->
  |             <property>
  |                <name>portal.defaultObjectName</name>
  |                <value>Bureau</value>
  |             </property>
  | 	    
  | 	                <!--
  |             | Set the dashboard property
  |             -->
  |             <property>
  |                <name>dashboard</name>
  |                <value>true</value>
  |             </property>
  | 
  |             <!--
  |             | Set the dnd property
  |             -->
  |             <property>
  |                <name>theme.dyna.dnd_enabled</name>
  |                <value>true</value>
  |             </property>
  | 
  |             <!--
  |             | Set the partial refresh property
  |             -->
  |             <property>
  |                <name>theme.dyna.partial_refresh_enabled</name>
  |                <value>true</value>
  |             </property>
  | 	    
  | 	    
  |          </properties>
  |         
  | 	<security-constraint>
  | 		<policy-permission>
  | 			<role-name>User</role-name>
  | 			<action-name>viewrecursive</action-name> 
  | 		</policy-permission>
  | 		<policy-permission>
  | 			<role-name>Admin</role-name>
  | 			<action-name>viewrecursive</action-name> 
  | 		</policy-permission>
  | 	</security-constraint>
  | 	
  | 
  | 	          <!-- PAGE BUREAU-->
  | 	 
  | 	 <page>
  |             <page-name>Bureau</page-name>
  |             <properties>
  |                <property>
  |                   <name>order</name>
  |                   <value>1</value>
  |                </property>
  | 	    
  | 	    <!--
  |             | Set the layout for the default portal, see also portal-layouts.xml.
  |             -->
  |             <property>
  |                <name>layout.id</name>
  |                <value>CPage4Col</value>
  |             </property>
  |             <!--
  |             | Set the theme for the default portal, see also portal-themes.xml.
  |             -->	    
  | 	</properties>
  |          </page>
  | 
  | 		<!-- PAGE OUTILS-->
  | 	 
  | 	 <page>
  |             <page-name>Outils</page-name>
  |             <properties>
  |                <property>
  |                   <name>order</name>
  |                   <value>2</value>
  |                </property>
  | 	    <!--
  |             | Set the layout for the default portal, see also portal-layouts.xml.
  |             -->
  |             <property>
  |                <name>layout.id</name>
  |                <value>CPage4Col</value>
  |             </property>
  |             <!--
  |             | Set the theme for the default portal, see also portal-themes.xml.
  | 	-->
  | 	    
  |             </properties>
  | 	
  | 	
  | 	
  |          </page>
  | 	 
  | 	<!-- PAGE COLLABORATION-->
  | 
  | 	 <page>
  |             <page-name>Collaboration</page-name>
  |             <properties>
  |                <property>
  |                   <name>order</name>
  |                   <value>3</value>
  |                </property>
  | 	       
  | 	       	    <!--
  |             | Set the layout for the default portal, see also portal-layouts.xml.
  |             -->
  |             <property>
  |                <name>layout.id</name>
  |                <value>CPage2ColQuart</value>
  |             </property>
  |             <!--
  |             | Set the theme for the default portal, see also portal-themes.xml.
  |             -->	    
  |             </properties>
  |          </page>
  | 
  | 	<!-- PAGE AGENDA-->
  | 	
  | 		 <page>
  |             <page-name>Agenda</page-name>
  |             <properties>
  |                <property>
  |                   <name>order</name>
  |                   <value>4</value>
  |                </property> 
  | 	       
  | 	       	    <!--
  |             | Set the layout for the default portal, see also portal-layouts.xml.
  |             -->
  |             <property>
  |                <name>layout.id</name>
  |                <value>CPage2ColAgenda</value>
  |             </property>
  |             <!--
  |             | Set the theme for the default portal, see also portal-themes.xml.
  |             -->
  | 	    
  |             </properties>
  |          </page>
  | 	
  | 	<!-- PAGE INFORMATIONS-->
  | 	
  | 	 <page>
  |             <page-name>Informations</page-name>
  |             <properties>
  |                <property>
  |                   <name>order</name>
  |                   <value>5</value>
  |                </property>
  | 	       
  | 	       	    <!--
  |             | Set the layout for the default portal, see also portal-layouts.xml.
  |             -->
  |             <property>
  |                <name>layout.id</name>
  |                <value>CPage2ColEgales</value>
  |             </property>
  |             <!--
  |             | Set the theme for the default portal, see also portal-themes.xml.
  |             -->
  | 	    
  |             </properties>
  | 	    
  |             <window>
  |                <window-name>CMS</window-name>
  |                <instance-ref>CMSAdminPortletInstance</instance-ref>
  |                <region>right</region>
  |                <height>2</height>
  |             </window>
  | 	    
  | 	<window>
  |                <window-name>DashboardConfigPortlet</window-name>
  |                <instance-ref>DashboardConfigPortletInstance</instance-ref>
  |                <region>right</region>
  |                <height>3</height>
  |             </window>
  | 	    
  |          </page>
  | 
  | 	
  | 	
  |       </portal>
  |    </deployment>   
  |    
  | <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  | 
  | 						PORTAIL ADMIN
  | 
  | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
  | 
  |    <deployment>
  |       <parent-ref/>
  |       <if-exists>keep</if-exists>
  |       <portal>
  |          <portal-name>admin</portal-name>
  |          <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>
  |          <properties>
  |             <!--
  |             | Set the layout for the default portal, see also portal-layouts.xml.
  |             -->
  |             <property>
  |                <name>layout.id</name>
  |                <value>CPage2ColEgales</value>
  |             </property>
  |             <!--
  |             | Set the theme for the default portal, see also portal-themes.xml.
  |             -->
  |             <property>
  |                <name>theme.id</name>
  |                <value>renaissance</value>
  |             </property>
  |             <!--
  |             | Set the default render set name (used by the render tag in layouts), see also portal-renderSet.xml
  |             -->
  |             <property>
  |                <name>theme.renderSetId</name>
  |                <value>divRenderer</value>
  |             </property>
  |             <!--
  |             | Set the default strategy name (used by the strategy interceptor), see also portal-strategies.xml
  |             -->
  |             <property>
  |                <name>layout.strategyId</name>
  |                <value>maximizedRegion</value>
  |             </property>
  |             <!--
  |             | The default page name, if the property is not explicited then the default page name is "default"
  |             -->
  |             <property>
  |                <name>portal.defaultObjectName</name>
  |                <value>default</value>
  |             </property>
  |          </properties>
  |          <security-constraint>
  |             <policy-permission>
  |                <action-name>viewrecursive</action-name>
  |                <role-name>Admin</role-name>
  |             </policy-permission>
  |          </security-constraint>
  |          <page>
  |             <page-name>default</page-name>
  |             <window>
  |                <window-name>AdminPortletWindow</window-name>
  |                <instance-ref>AdminPortletInstance</instance-ref>
  |                <region>right</region>
  |                <height>0</height>
  |             </window>
  |             <window>
  |                <window-name>CatalogPortletWindow</window-name>
  |                <instance-ref>CatalogPortletInstance</instance-ref>
  |                <region>left</region>
  |                <height>0</height>
  |             </window>
  |          </page>
  |          <page>
  |             <page-name>Members</page-name>
  |             <window>
  |                <window-name>UserPortletWindow</window-name>
  |                <instance-ref>UserPortletInstance</instance-ref>
  |                <region>right</region>
  |                <height>0</height>
  |             </window>
  |             <window>
  |                <window-name>RolePortletWindow</window-name>
  |                <instance-ref>RolePortletInstance</instance-ref>
  |                <region>left</region>
  |                <height>0</height>
  |             </window>
  |          </page>
  |       </portal>
  |    </deployment>  
  | 
  | </deployments>
  | 

Are there any mistake ???

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

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



More information about the jboss-user mailing list