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/portlets CustomizeSetAction.java
Date Fri, 12 Sep 2003 15:28:37 GMT
jford       2003/09/12 08:28:37

  Modified:    src/java/org/apache/jetspeed/modules/actions/portlets
                        CustomizeSetAction.java
  Log:
  Allow description to be modified
  
  PR: Bugzilla #23133
  Submitted by:	Olaf Romanski
  
  Revision  Changes    Path
  1.47      +8 -1      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/CustomizeSetAction.java
  
  Index: CustomizeSetAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/CustomizeSetAction.java,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- CustomizeSetAction.java	23 Jul 2003 19:50:12 -0000	1.46
  +++ CustomizeSetAction.java	12 Sep 2003 15:28:37 -0000	1.47
  @@ -807,6 +807,7 @@
       {
           PortletSet set = (PortletSet) ((JetspeedRunData) rundata).getCustomized();
           String title = rundata.getParameters().getString("title");
  +        String description = rundata.getParameters().getString("description");
   
           if (set != null)
           {
  @@ -827,6 +828,12 @@
                   {
                       meta.setTitle(title);
                       set.setTitle(title);
  +                }
  +
  +                if(description != null)
  +                {
  +                    meta.setDescription(description);
  +                    set.setDescription(description);
                   }
               }
           }
  
  
  

Mime
View raw message