portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jf...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controllers RowColumnControllerAction.java
Date Mon, 08 Sep 2003 16:17:10 GMT
jford       2003/09/08 09:17:10

  Modified:    src/java/org/apache/jetspeed/modules/actions/controllers
                        RowColumnControllerAction.java
  Log:
  Patch from Roshan to row/column controller to put titles into map by id instead of name
  
  PR: Bugzilla #22712
  Submitted by:	Roshan
  
  Revision  Changes    Path
  1.20      +3 -3      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controllers/RowColumnControllerAction.java
  
  Index: RowColumnControllerAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controllers/RowColumnControllerAction.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- RowColumnControllerAction.java	23 Jul 2003 19:50:11 -0000	1.19
  +++ RowColumnControllerAction.java	8 Sep 2003 16:17:09 -0000	1.20
  @@ -267,7 +267,7 @@
                   Portlets entry = (Portlets)obj;
                   if ((entry.getMetaInfo()!=null)&&(entry.getMetaInfo().getTitle()!=null))
                   {
  -                    titles.put(entry.getName(),entry.getMetaInfo().getTitle());
  +                    titles.put(entry.getId(),entry.getMetaInfo().getTitle());
                   }
               }
               else
  @@ -275,7 +275,7 @@
                   Entry entry = (Entry)obj;
                   if ((entry.getMetaInfo()!=null)&&(entry.getMetaInfo().getTitle()!=null))
                   {
  -                    titles.put(entry.getParent(),entry.getMetaInfo().getTitle());
  +				   titles.put(entry.getId(), entry.getMetaInfo().getTitle());
                   }
                   else
                   {
  @@ -283,7 +283,7 @@
   
                       if (pentry!=null)
                       {
  -                        titles.put(entry.getParent(), pentry.getTitle());
  +						titles.put(entry.getId(), pentry.getTitle());
                       }
                   }
               }
  
  
  

Mime
View raw message