[jboss-svn-commits] JBoss Portal SVN: r5377 - trunk/core/src/resources/portal-core-sar/conf/data

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Oct 9 14:23:09 EDT 2006


Author: julien at jboss.com
Date: 2006-10-09 14:23:07 -0400 (Mon, 09 Oct 2006)
New Revision: 5377

Modified:
   trunk/core/src/resources/portal-core-sar/conf/data/default-object.xml
Log:
change the organization of default objects : created an admin portal.

Modified: trunk/core/src/resources/portal-core-sar/conf/data/default-object.xml
===================================================================
--- trunk/core/src/resources/portal-core-sar/conf/data/default-object.xml	2006-10-09 17:56:23 UTC (rev 5376)
+++ trunk/core/src/resources/portal-core-sar/conf/data/default-object.xml	2006-10-09 18:23:07 UTC (rev 5377)
@@ -95,17 +95,11 @@
                <region>left</region>
                <height>2</height>
             </window>
-            <security-constraint>
-               <policy-permission>
-                  <unchecked/>
-                  <action-name>viewrecursive</action-name>
-               </policy-permission>
-            </security-constraint>
          </page>
          <security-constraint>
             <policy-permission>
                <unchecked/>
-               <action-name>view</action-name>
+               <action-name>viewrecursive</action-name>
                <action-name>personalizerecursive</action-name>
             </policy-permission>
          </security-constraint>
@@ -140,58 +134,9 @@
             <region>center</region>
             <height>1</height>
          </window>
-         <security-constraint>
-            <policy-permission>
-               <unchecked/>
-               <action-name>viewrecursive</action-name>
-            </policy-permission>
-         </security-constraint>
       </page>
    </deployment>
    <deployment>
-      <if-exists>keep</if-exists>
-      <parent-ref>default</parent-ref>
-      <page>
-         <page-name>Admin</page-name>
-         <window>
-            <window-name>UserPortletWindow</window-name>
-            <instance-ref>UserPortletInstance</instance-ref>
-            <region>left</region>
-            <height>0</height>
-         </window>
-         <window>
-            <window-name>RolePortletWindow</window-name>
-            <instance-ref>RolePortletInstance</instance-ref>
-            <region>left</region>
-            <height>1</height>
-         </window>
-         <window>
-            <window-name>CatalogPortletWindow</window-name>
-            <instance-ref>CatalogPortletInstance</instance-ref>
-            <region>left</region>
-            <height>2</height>
-         </window>
-         <window>
-            <window-name>ManagementPortletWindow</window-name>
-            <instance-ref>ManagementPortletInstance</instance-ref>
-            <region>center</region>
-            <height>0</height>
-         </window>
-         <window>
-            <window-name>CMSAdminPortletWindow</window-name>
-            <instance-ref>CMSAdminPortletInstance</instance-ref>
-            <region>center</region>
-            <height>1</height>
-         </window>
-         <security-constraint>
-            <policy-permission>
-               <role-name>Admin</role-name>
-               <action-name>viewrecursive</action-name>
-            </policy-permission>
-         </security-constraint>
-      </page>
-   </deployment>
-   <deployment>
       <parent-ref/>
       <if-exists>keep</if-exists>
       <portal>
@@ -276,4 +221,98 @@
          </security-constraint>
       </portal>
    </deployment>
+
+   <deployment>
+      <parent-ref/>
+      <if-exists>keep</if-exists>
+      <portal>
+         <portal-name>admin</portal-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 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>
+         <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>default</page-name>
+            <window>
+               <window-name>UserPortletWindow</window-name>
+               <instance-ref>UserPortletInstance</instance-ref>
+               <region>left</region>
+               <height>0</height>
+            </window>
+            <window>
+               <window-name>RolePortletWindow</window-name>
+               <instance-ref>RolePortletInstance</instance-ref>
+               <region>left</region>
+               <height>1</height>
+            </window>
+            <window>
+               <window-name>CatalogPortletWindow</window-name>
+               <instance-ref>CatalogPortletInstance</instance-ref>
+               <region>left</region>
+               <height>2</height>
+            </window>
+            <window>
+               <window-name>ManagementPortletWindow</window-name>
+               <instance-ref>ManagementPortletInstance</instance-ref>
+               <region>center</region>
+               <height>0</height>
+            </window>
+            <window>
+               <window-name>CMSAdminPortletWindow</window-name>
+               <instance-ref>CMSAdminPortletInstance</instance-ref>
+               <region>center</region>
+               <height>1</height>
+            </window>
+         </page>
+         <security-constraint>
+            <policy-permission>
+               <role-name>Admin</role-name>
+               <action-name>viewrecursive</action-name>
+            </policy-permission>
+         </security-constraint>
+      </portal>
+   </deployment>
 </deployments>




More information about the jboss-svn-commits mailing list