public class AjaxResetButton extends WOComponent
| Name | Description |
|---|---|
formId | String, the id of the form to be reset |
clear | boolean, true if the form values should be cleared, false should be reset to original values |
value | String, optional label for the button, the default is Reset |
id, | String, optional HTML ID for the button element |
class, | String, optional CSS class name for the button element |
style, | String, optional CSS style definition for the button element |
WOComponent._EventLoggingEnabler, WOComponent.EventNSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.UtilityNSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessorNSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException| Modifier and Type | Field and Description |
|---|---|
static String |
CLEAR_BINDING |
static String |
FORM_ID_BINDING |
static String |
VALUE_BINDING |
_Extension, _IsEventLoggingEnabled, _keyAssociations_CLASS_CLASS, _KeyPathSeparatorChar, KeyPathSeparatorNullValue_CLASS| Constructor and Description |
|---|
AjaxResetButton(WOContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendToResponse(WOResponse response,
WOContext context)
Adds prototype.js to the header.
|
boolean |
clear() |
WOComponent |
dummy()
This should never be called.
|
String |
formId() |
boolean |
isStateless() |
String |
resetFormJavaScript() |
String |
value() |
__valueForBinding, _associationWithName, _awakeInContext, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithNamepublic static final String FORM_ID_BINDING
public static final String VALUE_BINDING
public static final String CLEAR_BINDING
public AjaxResetButton(WOContext context)
public boolean isStateless()
isStateless in class WOComponenttruepublic void appendToResponse(WOResponse response, WOContext context)
appendToResponse in class WOComponentpublic String resetFormJavaScript()
public String formId()
public String value()
public boolean clear()
public WOComponent dummy()
Copyright © 2002 – 2025 Project Wonder.