tedyoung
21 Feb 2012, 10:51 AM
In GXT 3.0.0-beta3, there appears to be a bug in TriggerFieldDefaultAppearance.render() if the value contains a single-quote. The problem is that the value text is not HTML escaped, so when the value
Workers' Comp Group
is concatenated in line 187:
String input = "<input name='" + name + "' " + ro + " style='" + inputStyles + "' type='text' value='" + value + "' class='" + cls + "'/>";
You may end up with HTML that looks like this:
<input name='null' style='width:125px;' type='text' value='Workers' Comp Group' class='GA0P54ODMY GA0P54ODD-'/>
Which is invalid.
;ted
Workers' Comp Group
is concatenated in line 187:
String input = "<input name='" + name + "' " + ro + " style='" + inputStyles + "' type='text' value='" + value + "' class='" + cls + "'/>";
You may end up with HTML that looks like this:
<input name='null' style='width:125px;' type='text' value='Workers' Comp Group' class='GA0P54ODMY GA0P54ODD-'/>
Which is invalid.
;ted