Author: jdonnerstag
Date: Fri Sep 21 10:00:52 2007
New Revision: 578204

URL: http://svn.apache.org/viewvc?rev=578204&view=rev
Log:
please make sure you are 1.4 compliant

Modified:
    wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java

Modified: 
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java
URL: 
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java?rev=578204&r1=578203&r2=578204&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java 
(original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java 
Fri Sep 21 10:00:52 2007
@@ -1213,7 +1213,7 @@
                        {
                                markupId = "id" + markupId;
                                // escape some noncompliant characters
-                               markupId = markupId.replace("_", "__");
+                               markupId = Strings.replaceAll(markupId, "_", 
"__").toString();
                                markupId = markupId.replace('.', '_');
                                markupId = markupId.replace('-', '_');
                        }


Reply via email to