Author: abelevich
Date: 2009-08-14 09:59:29 -0400 (Fri, 14 Aug 2009)
New Revision: 15178
Modified:
root/framework/trunk/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java
Log:
fix buildAjaxFunction
Modified:
root/framework/trunk/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java
===================================================================
---
root/framework/trunk/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java 2009-08-14
13:56:18 UTC (rev 15177)
+++
root/framework/trunk/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java 2009-08-14
13:59:29 UTC (rev 15178)
@@ -477,7 +477,7 @@
FacesContext facesContext, String functionName) {
JSFunction ajaxFunction = new JSFunction(functionName);
ajaxFunction.addParameter(uiComponent.getClientId(facesContext));
- ajaxFunction.addParameter("event");
+ ajaxFunction.addParameter(new JSReference("event"));
return ajaxFunction;
}
Show replies by date