* e.g. test = 'a\'b'; has to become test = \'a\\\'b\';
*/
public void testClientBehaviorUserCodeJavaScriptDoubleEscaping()
{
inputText.getAttributes().put("onchange", "var test = \'a\\\'b\'; alert(test);");
inputText.addClientBehavior("change", new AjaxBehavior());
try
{
inputText.encodeAll(facesContext);
String output = ((StringWriter) writer.getWriter()).getBuffer().toString();
// onchange="jsf.util.chain(document.getElementById('j_id0'), event,