WOComponent component = context.component(); String observeFieldID = (String) valueForBinding("observeFieldID", component); String updateContainerID = (String) valueForBinding("updateContainerID", component); if (observeFieldID != null && updateContainerID != null) { AjaxUtils.appendScriptHeader(response); NSDictionary options = createAjaxOptions(component); Boolean fullSubmitBoolean = (Boolean) valueForBinding("fullSubmit", component); boolean fullSubmit = (fullSubmitBoolean != null && fullSubmitBoolean.booleanValue()); AjaxObserveField.appendToResponse(response, context, observeFieldID, updateContainerID, fullSubmit, options); AjaxUtils.appendScriptFooter(response); } }
WOComponent component = context.component(); String observeFieldID = (String) valueForBinding("observeFieldID", component); String updateContainerID = (String) valueForBinding("updateContainerID", component); if (observeFieldID != null && updateContainerID != null) { AjaxUtils.appendScriptHeader(response); NSDictionary options = createAjaxOptions(component); Boolean fullSubmitBoolean = (Boolean) valueForBinding("fullSubmit", component); boolean fullSubmit = (fullSubmitBoolean != null && fullSubmitBoolean.booleanValue()); AjaxObserveField.appendToResponse(response, context, this, observeFieldID, updateContainerID, fullSubmit, options); AjaxUtils.appendScriptFooter(response); } }
  public void appendToResponse(WOResponse response, WOContext context) {    WOComponent component = context.component();    String observeFieldID = (String) valueForBinding("observeFieldID", component);    String updateContainerID = (String) valueForBinding("updateContainerID", component);    if (observeFieldID != null && updateContainerID != null) {      AjaxUtils.appendScriptHeader(response);      NSDictionary options = createAjaxOptions(component);      Boolean fullSubmitBoolean = (Boolean) valueForBinding("fullSubmit", component);      boolean fullSubmit = (fullSubmitBoolean != null && fullSubmitBoolean.booleanValue());      AjaxObserveField.appendToResponse(response, context, observeFieldID, updateContainerID, fullSubmit, options);      AjaxUtils.appendScriptFooter(response);    }  }