public abstract class ERMDActionButton extends ERDCustomComponent
| Bindings | |
object | object |
displayGroup | displayGroup |
dataSource | dataSource |
| D2W Keys | |
task | task |
allowInlineEditing | allowInlineEditing |
idForMainContainer | idForMainContainer |
useAjaxControls | useAjaxControls |
objectBeingEdited | objectBeingEdited |
inlineTask | inlineTask |
useNestedEditingContext | useNestedEditingContext |
isEntityEditable | isEntityEditable |
pageConfiguration | pageConfiguration |
| Modifier and Type | Class and Description |
|---|---|
static interface |
ERMDActionButton.Keys |
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 |
|---|---|
protected java.lang.String |
_buttonClass |
protected java.lang.String |
_buttonLabel |
protected java.lang.String |
_updateContainer |
protected java.lang.Boolean |
_useAjax |
static java.lang.String |
BUTTON_PERFORMED_DELETE_ACTION |
static java.lang.String |
BUTTON_PERFORMED_EDIT_ACTION |
static java.lang.String |
BUTTON_PERFORMED_INSPECT_ACTION |
static java.lang.String |
BUTTON_PERFORMED_SELECT_ACTION |
extraBindings, FALSE, TRUE_dynamicBindings_Extension, _IsEventLoggingEnabled, _keyAssociations_CLASS_CLASS, _KeyPathSeparatorChar, KeyPathSeparatorNullValue_CLASS| Constructor and Description |
|---|
ERMDActionButton(WOContext context) |
| Modifier and Type | Method and Description |
|---|---|
EODataSource |
dataSource()
The current data source.
|
WODisplayGroup |
displayGroup()
The current display group.
|
protected WOComponent |
enclosingPageOfClass(java.lang.Class<?> c)
Utility to return the first enclosing component that matches the given class, if there is one.
|
protected EOEnterpriseObject |
localInstanceOfObject()
Utility method to return the local instance of the object as determined by the
useNestedEditingContext binding
|
WOComponent |
nextPageInPage(D2WPage parent)
Utility to return the next page in the enclosing page.
|
EOEnterpriseObject |
object()
The current object.
|
D2WPage |
parentD2WPage()
Utility to return the enclosing D2W page, if there is one.
|
protected com.webobjects.directtoweb.EditPageInterface |
parentEditPage()
Utility to return the enclosing edit page, if there is one.
|
protected com.webobjects.directtoweb.ListPageInterface |
parentListPage()
Utility to return the enclosing list page, if there is one.
|
protected ERDPickPageInterface |
parentPickPage()
Utility to return the enclosing pick page, if there is one.
|
protected com.webobjects.directtoweb.QueryPageInterface |
parentQueryPage()
Utility to return the enclosing query page, if there is one.
|
protected com.webobjects.directtoweb.SelectPageInterface |
parentSelectPage()
Utility to return the enclosing select page, if there is one.
|
void |
postNotification(java.lang.String note)
Utility method to help post button action notification
|
boolean |
shouldAllowInlineEditing()
Utility method returns the boolean value for the allowInlineEditing binding.
|
boolean |
shouldUseAjax()
Utility method, returns the boolean value for the useAjax binding
|
boolean |
synchronizesVariablesWithBindings()
Action buttons do not synchronize their variables.
|
java.lang.String |
updateContainer()
ID of the update container for this button's ajax update.
|
java.lang.Boolean |
useAjax()
Utility method, returns whether shouldAllowInlineEditing and shouldUseAjax are true
|
appendToResponse, booleanForBinding, clearValidationFailed, d2wComponentNameDebuggingEnabled, d2wContext, d2wContextFromBindings, d2wContextValueForBinding, d2wDebuggingEnabled, d2wPage, d2wPropertyKeyDebuggingEnabled, extraBindings, extraBindingsValueForBinding, hasBinding, integerBooleanForBinding, key, localContext, logDebugInfo, originalValueForBinding, parentValueForBinding, reset, resetCachedBindingsInStatefulComponent, setD2wContext, setExtraBindings, setKey, setLocalContext, task, taskIsEdit, taskIsInspect, taskIsList, validationFailedWithException, valueForBindinginvokeAction, takeValuesFromRequest_awakeInContext, _checkAccess, _frameworkName, _includeCSSResources, _includeJavascriptResources, additionalCSSFiles, additionalJavascriptFiles, arrayValueForBinding, arrayValueForBinding, booleanValueForBinding, booleanValueForBinding, booleanValueForBinding, browser, checkAccess, clickToOpenEnabled, componentName, defaultCSSPath, defaultJavascriptPath, dynamicBindings, floatValueForBinding, intValueForBinding, isPageAccessAllowed, localizer, objectValueForBinding, objectValueForBinding, pageWithName, postAppendToResponse, preAppendToResponse, primaryCSSFile, primaryJavascriptFile, shouldCheckAccess, stringValueForBinding, stringValueForBinding, useDefaultComponentCSS, useDefaultComponentJavascript__valueForBinding, _associationWithName, _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, hasSession, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithNamepublic static final java.lang.String BUTTON_PERFORMED_DELETE_ACTION
public static final java.lang.String BUTTON_PERFORMED_EDIT_ACTION
public static final java.lang.String BUTTON_PERFORMED_SELECT_ACTION
public static final java.lang.String BUTTON_PERFORMED_INSPECT_ACTION
protected java.lang.String _buttonLabel
protected java.lang.String _buttonClass
protected java.lang.String _updateContainer
protected java.lang.Boolean _useAjax
public ERMDActionButton(WOContext context)
public java.lang.String updateContainer()
public void postNotification(java.lang.String note)
note - public final boolean synchronizesVariablesWithBindings()
synchronizesVariablesWithBindings in class ERDCustomComponentfalsepublic EOEnterpriseObject object()
public WODisplayGroup displayGroup()
public EODataSource dataSource()
protected EOEnterpriseObject localInstanceOfObject()
public boolean shouldAllowInlineEditing()
public boolean shouldUseAjax()
public java.lang.Boolean useAjax()
public WOComponent nextPageInPage(D2WPage parent)
protected com.webobjects.directtoweb.SelectPageInterface parentSelectPage()
protected WOComponent enclosingPageOfClass(java.lang.Class<?> c)
protected com.webobjects.directtoweb.ListPageInterface parentListPage()
protected com.webobjects.directtoweb.EditPageInterface parentEditPage()
protected com.webobjects.directtoweb.QueryPageInterface parentQueryPage()
protected ERDPickPageInterface parentPickPage()
public D2WPage parentD2WPage()
Copyright © 2002 – 2022 Project Wonder.