* e.g. alert('test') has to become alert(\'test\')
*/
public void testClientBehaviorUserCodeJavaScriptEscaping()
{
inputText.getAttributes().put("onchange", "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,