throw new WODynamicElementCreationException("<" + getClass().getName() + "> Cannot have 'dateFormat' and 'numberFormat' attributes at the same time.");
}
}
public NSDictionary createAjaxOptions(WOComponent component) {
NSMutableArray ajaxOptionsArray = new NSMutableArray();
ajaxOptionsArray.addObject(new AjaxOption("okButton", AjaxOption.BOOLEAN));
ajaxOptionsArray.addObject(new AjaxOption("okText", AjaxOption.STRING));
ajaxOptionsArray.addObject(new AjaxOption("cancelLink", AjaxOption.BOOLEAN));
ajaxOptionsArray.addObject(new AjaxOption("cancelText", AjaxOption.STRING));
ajaxOptionsArray.addObject(new AjaxOption("cancelControl", AjaxOption.STRING));
ajaxOptionsArray.addObject(new AjaxOption("savingText", AjaxOption.STRING));
ajaxOptionsArray.addObject(new AjaxOption("clickToEditText", AjaxOption.STRING));
ajaxOptionsArray.addObject(new AjaxOption("formId", AjaxOption.STRING));
ajaxOptionsArray.addObject(new AjaxOption("externalControl", AjaxOption.STRING));
ajaxOptionsArray.addObject(new AjaxOption("rows", AjaxOption.NUMBER));
ajaxOptionsArray.addObject(new AjaxOption("onComplete", AjaxOption.SCRIPT));
ajaxOptionsArray.addObject(new AjaxOption("onFailure", AjaxOption.SCRIPT));
ajaxOptionsArray.addObject(new AjaxOption("cols", AjaxOption.NUMBER));
ajaxOptionsArray.addObject(new AjaxOption("size", AjaxOption.NUMBER));
ajaxOptionsArray.addObject(new AjaxOption("highlightcolor", AjaxOption.STRING));
ajaxOptionsArray.addObject(new AjaxOption("highlightendcolor", AjaxOption.STRING));
ajaxOptionsArray.addObject(new AjaxOption("savingClassName", AjaxOption.STRING));
ajaxOptionsArray.addObject(new AjaxOption("formClassName", AjaxOption.STRING));
ajaxOptionsArray.addObject(new AjaxOption("loadTextURL", AjaxOption.STRING));
ajaxOptionsArray.addObject(new AjaxOption("loadingText", AjaxOption.STRING));
ajaxOptionsArray.addObject(new AjaxOption("callback", AjaxOption.SCRIPT));
ajaxOptionsArray.addObject(new AjaxOption("submitOnBlur", AjaxOption.BOOLEAN));
ajaxOptionsArray.addObject(new AjaxOption("valueWhenEmpty", AjaxOption.STRING));
//ajaxOptionsArray.addObject(new AjaxOption("ajaxOptions", AjaxOption.SCRIPT));
NSMutableDictionary options = AjaxOption.createAjaxOptionsDictionary(ajaxOptionsArray, component, associations());
return options;
}