portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Ford" <caius1...@hotmail.com>
Subject [Patch] Skin editor
Date Fri, 25 Apr 2003 14:48:06 GMT
Here's the patch to the skin editor to fix the duplicate property problem.  
If this can make it into b4, that would be great.  I understand if it can't.

Jeremy

Index: 
src/java/org/apache/jetspeed/modules/actions/portlets/SkinUpdateAction.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/SkinUpdateAction.java,v
retrieving revision 1.2
diff -u -r1.2 SkinUpdateAction.java
--- SkinUpdateAction.java	4 Mar 2003 17:39:41 -0000	1.2
+++ SkinUpdateAction.java	25 Apr 2003 14:45:41 -0000
@@ -395,6 +395,7 @@
                     {
                         String parameterName =
                             key.substring(PARAMETER.length());
+                        skinEntry.removeParameter(parameterName);
                         skinEntry.addParameter(parameterName, 
parameterValue);
                     }
                 }


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
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