if (script != null && !script.equals("")) {
JSFunctionDefinition onEventDefinition = new JSFunctionDefinition();
onEventDefinition.addParameter("event");
onEventDefinition.addToBody(script);
writer.writeText(",\n" + eventName + ": "
+ onEventDefinition.toScript(), null);
}
}
public String getInputValue(FacesContext context, UIComponent component) {
UICalendar calendar = (UICalendar) component;