NSMutableArray ajaxOptionsArray = new NSMutableArray(); ajaxOptionsArray.addObject(new AjaxOption("frequency", AjaxOption.NUMBER)); ajaxOptionsArray.addObject(new AjaxOption("decay", AjaxOption.NUMBER)); ajaxOptionsArray.addObject(new AjaxOption("onLoading", AjaxOption.SCRIPT)); ajaxOptionsArray.addObject(new AjaxOption("onComplete", AjaxOption.SCRIPT)); ajaxOptionsArray.addObject(new AjaxOption("onSuccess", AjaxOption.SCRIPT)); ajaxOptionsArray.addObject(new AjaxOption("onFailure", AjaxOption.SCRIPT)); ajaxOptionsArray.addObject(new AjaxOption("onException", AjaxOption.SCRIPT)); ajaxOptionsArray.addObject(new AjaxOption("insertion", AjaxOption.SCRIPT)); ajaxOptionsArray.addObject(new AjaxOption("evalScripts", AjaxOption.BOOLEAN)); NSMutableDictionary options = AjaxOption.createAjaxOptionsDictionary(ajaxOptionsArray, component, associations()); return options; }
NSMutableArray ajaxOptionsArray = new NSMutableArray(); ajaxOptionsArray.addObject(new AjaxOption("frequency", AjaxOption.NUMBER)); ajaxOptionsArray.addObject(new AjaxOption("decay", AjaxOption.NUMBER)); ajaxOptionsArray.addObject(new AjaxOption("onLoading", AjaxOption.SCRIPT)); ajaxOptionsArray.addObject(new AjaxOption("onComplete", AjaxOption.SCRIPT)); ajaxOptionsArray.addObject(new AjaxOption("onSuccess", AjaxOption.SCRIPT)); ajaxOptionsArray.addObject(new AjaxOption("onFailure", AjaxOption.SCRIPT)); ajaxOptionsArray.addObject(new AjaxOption("onException", AjaxOption.SCRIPT)); ajaxOptionsArray.addObject(new AjaxOption("insertion", AjaxOption.SCRIPT)); ajaxOptionsArray.addObject(new AjaxOption("evalScripts", AjaxOption.BOOLEAN)); NSMutableDictionary options = AjaxOption.createAjaxOptionsDictionary(ajaxOptionsArray, component, associations()); if (options.objectForKey("evalScripts") == null) { options.setObjectForKey("true", "evalScripts"); } return options; }
  public NSDictionary createAjaxOptions(WOComponent component) {    NSMutableArray ajaxOptionsArray = new NSMutableArray();    ajaxOptionsArray.addObject(new AjaxOption("frequency", AjaxOption.NUMBER));    ajaxOptionsArray.addObject(new AjaxOption("decay", AjaxOption.NUMBER));    ajaxOptionsArray.addObject(new AjaxOption("onLoading", AjaxOption.SCRIPT));    ajaxOptionsArray.addObject(new AjaxOption("onComplete", AjaxOption.SCRIPT));    ajaxOptionsArray.addObject(new AjaxOption("onSuccess", AjaxOption.SCRIPT));    ajaxOptionsArray.addObject(new AjaxOption("onFailure", AjaxOption.SCRIPT));    ajaxOptionsArray.addObject(new AjaxOption("onException", AjaxOption.SCRIPT));    ajaxOptionsArray.addObject(new AjaxOption("insertion", AjaxOption.SCRIPT));    ajaxOptionsArray.addObject(new AjaxOption("evalScripts", AjaxOption.BOOLEAN));    NSMutableDictionary options = AjaxOption.createAjaxOptionsDictionary(ajaxOptionsArray, component, associations());    return options;  }