[jboss-svn-commits] JBoss Portal SVN: r5425 - in trunk/core/src: main/org/jboss/portal/core/aspects/controller resources/portal-core-sar/conf/data
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Oct 11 17:03:43 EDT 2006
Author: roy.russo at jboss.com
Date: 2006-10-11 17:03:41 -0400 (Wed, 11 Oct 2006)
New Revision: 5425
Modified:
trunk/core/src/main/org/jboss/portal/core/aspects/controller/PageCustomizerInterceptor.java
trunk/core/src/resources/portal-core-sar/conf/data/default-object.xml
Log:
- segmented admin portal pages
Modified: trunk/core/src/main/org/jboss/portal/core/aspects/controller/PageCustomizerInterceptor.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/aspects/controller/PageCustomizerInterceptor.java 2006-10-11 20:30:21 UTC (rev 5424)
+++ trunk/core/src/main/org/jboss/portal/core/aspects/controller/PageCustomizerInterceptor.java 2006-10-11 21:03:41 UTC (rev 5425)
@@ -88,7 +88,7 @@
PageRendition rendition = (PageRendition)rpc.getResponse();
if (rendition != null)
{
- // No tab in dashboard mode
+ // No tab in dashboard mode TODO: why not?
if (rpc.isDashboard() == false)
{
StringBuffer tabbedNav = injectTabbedNav(rpc);
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-11 20:30:21 UTC (rev 5424)
+++ trunk/core/src/resources/portal-core-sar/conf/data/default-object.xml 2006-10-11 21:03:41 UTC (rev 5425)
@@ -7,36 +7,36 @@
<portal-name>default</portal-name>
<properties>
<!--
- | Set the layout for the default portal, see also portal-layouts.xml.
- -->
+ | 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.
- -->
+ | 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
- -->
+ | 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
- -->
+ | 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"
- -->
+ | 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>
@@ -137,29 +137,29 @@
<portal-name>dashboard</portal-name>
<properties>
<!--
- | Set the layout for the default portal, see also portal-layouts.xml.
- -->
+ | 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.
- -->
+ | 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
- -->
+ | 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
- -->
+ | Set the default strategy name (used by the strategy interceptor), see also portal-strategies.xml
+ -->
<property>
<name>layout.strategyId</name>
<value>maximizedRegion</value>
@@ -223,36 +223,36 @@
<portal-name>admin</portal-name>
<properties>
<!--
- | Set the layout for the default portal, see also portal-layouts.xml.
- -->
+ | 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.
- -->
+ | 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
- -->
+ | 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
- -->
+ | 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"
- -->
+ | 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>
@@ -271,34 +271,40 @@
<page>
<page-name>default</page-name>
<window>
- <window-name>UserPortletWindow</window-name>
- <instance-ref>UserPortletInstance</instance-ref>
- <region>left</region>
+ <window-name>ManagementPortletWindow</window-name>
+ <instance-ref>ManagementPortletInstance</instance-ref>
+ <region>center</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>
+ <height>0</height>
</window>
+ </page>
+ <page>
+ <page-name>Members</page-name>
<window>
- <window-name>ManagementPortletWindow</window-name>
- <instance-ref>ManagementPortletInstance</instance-ref>
+ <window-name>UserPortletWindow</window-name>
+ <instance-ref>UserPortletInstance</instance-ref>
<region>center</region>
<height>0</height>
</window>
<window>
+ <window-name>RolePortletWindow</window-name>
+ <instance-ref>RolePortletInstance</instance-ref>
+ <region>left</region>
+ <height>0</height>
+ </window>
+ </page>
+ <page>
+ <page-name>CMS</page-name>
+ <window>
<window-name>CMSAdminPortletWindow</window-name>
<instance-ref>CMSAdminPortletInstance</instance-ref>
<region>center</region>
- <height>1</height>
+ <height>0</height>
</window>
</page>
<security-constraint>
More information about the jboss-svn-commits
mailing list