[pal-cvs 3220] [957] fixed JS2-883

svnno****@sourc***** svnno****@sourc*****
2008年 6月 5日 (木) 09:39:30 JST


Revision: 957
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=957
Author:   shinsuke
Date:     2008-06-05 09:39:29 +0900 (Thu, 05 Jun 2008)

Log Message:
-----------
fixed JS2-883

Modified Paths:
--------------
    pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/components/page-manager/src/java/org/apache/jetspeed/om/folder/impl/FolderImpl.java


-------------- next part --------------
Modified: pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/components/page-manager/src/java/org/apache/jetspeed/om/folder/impl/FolderImpl.java
===================================================================
--- pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/components/page-manager/src/java/org/apache/jetspeed/om/folder/impl/FolderImpl.java	2008-06-05 00:28:22 UTC (rev 956)
+++ pal-portal/branches/pal-portal-1.x/portal/jetspeed-2/components/page-manager/src/java/org/apache/jetspeed/om/folder/impl/FolderImpl.java	2008-06-05 00:39:29 UTC (rev 957)
@@ -62,6 +62,8 @@
 public class FolderImpl extends NodeImpl implements Folder
 {
 
+    private static final String PAGE_MANAGER_COMPONENT = "org.apache.jetspeed.page.PageManager";
+
     private String defaultPage;
 
     private String skin;
@@ -1189,7 +1191,7 @@
         if (pageManager == null)
         {
             pageManager = (PageManager) Jetspeed.getComponentManager()
-                    .getComponent("PageManager");
+                    .getComponent(PAGE_MANAGER_COMPONENT);
         }
         return pageManager;
     }


pal-cvs メーリングリストの案内