portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morci...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets CustomizeAction.java
Date Wed, 11 Jun 2003 22:09:31 GMT
morciuch    2003/06/11 15:09:31

  Modified:    src/java/org/apache/jetspeed/modules/actions/portlets
                        CustomizeAction.java
  Log:
  Portlet customizer now allows to set parameter values to empty string (see Bugzilla bug#
18806). Missed one test case.
  
  Revision  Changes    Path
  1.21      +1 -1      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/CustomizeAction.java
  
  Index: CustomizeAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/CustomizeAction.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- CustomizeAction.java	11 Jun 2003 18:48:04 -0000	1.20
  +++ CustomizeAction.java	11 Jun 2003 22:09:31 -0000	1.21
  @@ -427,7 +427,7 @@
                   {
                       //System.out.println(name + "= [" + newValue + "] in request");
                       // New value differs from registry - record it in psml
  -                    if (!regValue.equals(newValue))
  +                    if (!regValue.equals(newValue) || !psmlValue.equals(newValue))
                       {
                           instance.setAttribute(name, newValue);
                           psmlValue = newValue;
  
  
  

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


Mime
View raw message