er.extensions.components
Class ERXSingleButton
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
er.extensions.components.ERXSingleButton
- All Implemented Interfaces:
- WOActionResults, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, Cloneable
public class ERXSingleButton
- extends WOComponent
A stand alone submit button to be used as an action button.
Usefull for cancel buttons which should not submit the page and create all the validation messages.
Can also create its own FORM, so you can drop it anywhere.
- See Also:
- Serialized Form
| Bindings |
action | action |
value | value |
doNotUseForm" | defaults="Boolean |
actionClass | actionClass |
directActionName | directActionName |
target | target |
shouldSubmitForm" | defaults="Boolean |
| Methods inherited from class com.webobjects.appserver.WOComponent |
__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, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding |
ERXSingleButton
public ERXSingleButton(WOContext aContext)
isStateless
public boolean isStateless()
- Overrides:
isStateless in class WOComponent
useForm
public boolean useForm()
buttonCssClass
public String buttonCssClass()
useButton
public boolean useButton()
appendToResponse
public void appendToResponse(WOResponse aResponse,
WOContext aContext)
- Overrides:
appendToResponse in class WOComponent
shouldSubmitForm
public boolean shouldSubmitForm()
useSubmitButton
public boolean useSubmitButton()
jsString
public String jsString()
Copyright © 2002 – 2007 Project Wonder.