portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vku...@apache.org
Subject svn commit: r820054 - /portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager.java
Date Tue, 29 Sep 2009 18:25:19 GMT
Author: vkumar
Date: Tue Sep 29 18:25:18 2009
New Revision: 820054

URL: http://svn.apache.org/viewvc?rev=820054&view=rev
Log:
[JS2-1054] getting default layout configuration from jetspeed.properties

Modified:
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager.java

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager.java?rev=820054&r1=820053&r2=820054&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager.java
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/site/PortalSiteManager.java
Tue Sep 29 18:25:18 2009
@@ -2355,7 +2355,7 @@
                             Fragment.PORTLET);
                     page.setSkin(document.getDesktopTheme());
                     page.setHidden(document.isHidden());
-                    page.getRootFragment().setName("jetspeed-layouts::VelocityOneColumn");
+                    page.getRootFragment().setName(getServiceLocator().getPortalConfiguration().getString("layout.page.default",
"jetspeed-layouts::VelocityOneColumn"));
                     PageAction(page, SAVE_ACTION);
                     node.insert(new DefaultMutableTreeNode(new SiteTreeNode(
                             page)), 0);



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message