actionUrl = context.componentActionURL();
actionUrl = AjaxUtils.ajaxComponentActionUrl(context);
  public String onClick(WOContext context) {	  WOComponent component = context.component();    NSDictionary options = createAjaxOptions(component);    StringBuffer onClickBuffer = new StringBuffer();	String onClickBefore = (String)valueForBinding("onClickBefore", context.component());	if (onClickBefore != null) {		onClickBuffer.append("if (");		onClickBuffer.append(onClickBefore);		onClickBuffer.append(") {");	}	WOAssociation directActionNameAssociation = (WOAssociation) associations().valueForKey("directActionName");        String actionUrl = null;    if (directActionNameAssociation != null) {    	actionUrl = context.directActionURLForActionNamed((String)directActionNameAssociation.valueInComponent(component), ERXComponentUtilities.queryParametersInComponent(associations(), component)).replaceAll("&amp;", "&");    }    else if (associations().valueForKey("action") != null) {        actionUrl = context.componentActionURL();    }    else {      String updateContainerID = (String) valueForBinding("updateContainerID", context.component());      onClickBuffer.append("new Ajax.Updater('" + updateContainerID + "', $('" + updateContainerID + "').getAttribute('updateUrl'), ");      AjaxOptions.appendToBuffer(options, onClickBuffer, context);      onClickBuffer.append(")");    }    if (actionUrl != null) {      if (associations().valueForKey("function") == null) {        String replaceID = (String) valueForBinding("replaceID", context.component());        if (replaceID == null) {          onClickBuffer.append("new Ajax.Request('");          onClickBuffer.append(actionUrl);          onClickBuffer.append("', ");          AjaxOptions.appendToBuffer(options, onClickBuffer, context);          onClickBuffer.append(")");        }        else {          onClickBuffer.append("new Ajax.Updater('" + replaceID + "', '" + actionUrl + "', ");          AjaxOptions.appendToBuffer(options, onClickBuffer, context);          onClickBuffer.append(")");        }      }      else {        String function = (String) valueForBinding("function", context.component());        onClickBuffer.append("return " + function + "('" + actionUrl + "')");      }    }    String onClick = (String) valueForBinding("onClick", context.component());    if (onClick != null) {      onClickBuffer.append(";");      onClickBuffer.append(onClick);    }	if (onClickBefore != null) {		onClickBuffer.append("}");	}    return onClickBuffer.toString();  }