Author: nbelaevski
Date: 2007-10-15 17:57:47 -0400 (Mon, 15 Oct 2007)
New Revision: 3384
Modified:
trunk/framework/impl/src/main/java/org/richfaces/component/util/HtmlUtil.java
Log:
jQuery escapement for : in id selectors added
sample switched to h:form
Modified: trunk/framework/impl/src/main/java/org/richfaces/component/util/HtmlUtil.java
===================================================================
---
trunk/framework/impl/src/main/java/org/richfaces/component/util/HtmlUtil.java 2007-10-15
18:28:03 UTC (rev 3383)
+++
trunk/framework/impl/src/main/java/org/richfaces/component/util/HtmlUtil.java 2007-10-15
21:57:47 UTC (rev 3384)
@@ -70,7 +70,7 @@
if (target != null) {
matcher.appendReplacement(sb, "#"
- + target.getClientId(context));
+ + target.getClientId(context).replaceAll(":",
"\\\\\\\\\\\\\\\\:"));
}
}
}