cziegeler    2003/07/11 00:49:57

  Modified:    src/blocks/portal/java/org/apache/cocoon/portal/profile/impl
                        StaticProfileManager.java
  Log:
  Base profile path must be absolute
  
  Revision  Changes    Path
  1.5       +3 -3      
cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/profile/impl/StaticProfileManager.java
  
  Index: StaticProfileManager.java
  ===================================================================
  RCS file: 
/home/cvs/cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/profile/impl/StaticProfileManager.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- StaticProfileManager.java 10 Jul 2003 13:16:59 -0000      1.4
  +++ StaticProfileManager.java 11 Jul 2003 07:49:57 -0000      1.5
  @@ -143,7 +143,7 @@
               parameters.put("profiletype", "layout");
               
               Map map = new SequencedHashMap();
  -            map.put("base", "context://" + this.profilesPath);
  +            map.put("base", this.profilesPath);
               map.put("portalname", service.getPortalName());
               map.put("profile", "layout");
               map.put("groupKey", layoutKey);
  @@ -324,7 +324,7 @@
               this.profilesPath = child.getValue();
           }
           if ( this.profilesPath == null ) {
  -            this.profilesPath = "samples/simple-portal/profiles";
  +            this.profilesPath = "context://samples/simple-portal/profiles";
           }
       }
   
  
  
  

Reply via email to