options.put(optionName, value);
}
}
protected Object createSubmitEventFunction(FacesContext context, AbstractSchedule component) {
ScriptString jsFunction;
Map<String, Object> params = new HashMap<String, Object>();
params.put(getFieldId(context, component, START_DATE_PARAM), new JSReference(START_DATE_PARAM));
params.put(getFieldId(context, component, END_DATE_PARAM), new JSReference(END_DATE_PARAM));
params.put(getFieldId(context, component, ITEM_ID_PARAM), new JSReference(ITEM_ID_PARAM));
params.put(getFieldId(context, component, DAY_DELTA_PARAM), new JSReference(DAY_DELTA_PARAM));