parametersBuffer.append("Form.serialize(" + formReference + ")");
parametersBuffer.append("Form.serializeWithoutSubmits(" + formReference + ")");
  public NSDictionary createAjaxOptions(WOComponent component, String formReference) {    String name = nameInContext(component.context(), component);    NSMutableArray ajaxOptionsArray = new NSMutableArray();    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("onLoading", AjaxOption.SCRIPT));    ajaxOptionsArray.addObject(new AjaxOption("evalScripts", AjaxOption.BOOLEAN));	ajaxOptionsArray.addObject(new AjaxOption("insertion", AjaxOption.SCRIPT));    NSMutableDictionary options = AjaxOption.createAjaxOptionsDictionary(ajaxOptionsArray, component, associations());    StringBuffer parametersBuffer = new StringBuffer();    parametersBuffer.append("Form.serialize(" + formReference + ")");    parametersBuffer.append(" + '");    parametersBuffer.append("&" + AjaxSubmitButton.KEY_AJAX_SUBMIT_BUTTON_NAME + "=" + name);	String updateContainerID = (String)valueForBinding("updateContainerID", component);	if (updateContainerID != null) {		parametersBuffer.append("&" + AjaxUpdateContainer.UPDATE_CONTAINER_ID_KEY + "=" + updateContainerID);	}    parametersBuffer.append("'");    options.setObjectForKey(parametersBuffer.toString(), "parameters");	if (options.objectForKey("evalScripts") == null) {		options.setObjectForKey("true", "evalScripts");	}    return options;  }