click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r811588 - /incubator/click/trunk/click/framework/src/org/apache/click/util/PageImports.java
Date Sat, 05 Sep 2009 04:16:09 GMT
Author: sabob
Date: Sat Sep  5 04:16:08 2009
New Revision: 811588

URL: http://svn.apache.org/viewvc?rev=811588&view=rev
Log:
Prefix html ID with letter. CLK-579

Modified:
    incubator/click/trunk/click/framework/src/org/apache/click/util/PageImports.java

Modified: incubator/click/trunk/click/framework/src/org/apache/click/util/PageImports.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/util/PageImports.java?rev=811588&r1=811587&r2=811588&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/util/PageImports.java (original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/util/PageImports.java Sat Sep
 5 04:16:08 2009
@@ -840,7 +840,7 @@
         // content
         if (StringUtils.isBlank(id) && content.length() > 0) {
             int hash = Math.abs(content.hashCode());
-            element.setId(Integer.toString(hash));
+            element.setId("c_" + Integer.toString(hash));
         }
     }
 



Mime
View raw message