sventon subversion web client - http://www.sventon.org
[show recent changes]
 
  Help
HEAD
Rev: 32865 - http://anonsvn.icesoft.org/repo / icefaces3 / branches / icefaces-3.0.x-maintenance / icefaces / compat / core / src / main / java / com / icesoft / faces / renderkit / dom_html_basic / CommandLinkRenderer.java
Unified Diff View - CommandLinkRenderer.java
/icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/compat/core/src/main/java/com/icesoft/faces/renderkit/dom_html_basic/CommandLinkRenderer.java @ revision 32864
/icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/compat/core/src/main/java/com/icesoft/faces/renderkit/dom_html_basic/CommandLinkRenderer.java @ revision 32865
@@ -193,17 +193,17 @@             //ICE-8415: need to escape any single quotes in the value             //of the parameter to ensure a valid JavaScript string. -            buffer.append(escapeQuote(nextParamValue.toString())); +            buffer.append(escapeQuote(nextParamValue));             buffer.append("';");         }         return buffer.toString();     } -    protected static String escapeQuote(String value) { +    protected static String escapeQuote(Object value) {         if (null == value) {             return "";         } -        char[] chars = value.toCharArray(); +        char[] chars = value.toString().toCharArray();         StringBuffer buffer = new StringBuffer(chars.length);         for (int index = 0; index < chars.length; index++) {             char ch = chars[index];


feed icon

sventon 2.5.1