form = "document." + form;
}
String onbeforedrop = (String) valueForBinding("onBeforeDrop");
String ondrop = (String) valueForBinding("onDrop");
NSMutableDictionary options = new NSMutableDictionary();
if (canGetValueForBinding("onComplete")) {
options.setObjectForKey(valueForBinding("onComplete"), "onComplete");
}
if (canGetValueForBinding("confirmMessage")) {
options.setObjectForKey(new AjaxValue(AjaxOption.STRING, valueForBinding("confirmMessage")).javascriptValue(), "confirmMessage");
}
if (submit) {
AjaxSubmitButton.fillInAjaxOptions(this, this, _elementID, options);
}