public abstract class ERMDActionButton extends ERDCustomComponent
Name | Description |
---|---|
object | object |
displayGroup | displayGroup |
dataSource | dataSource |
Name | Description |
---|---|
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.Event
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
NSKeyValueCoding._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.ValueAccessor
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
Modifier and Type | Field and Description |
---|---|
protected String |
_buttonClass |
protected String |
_buttonLabel |
protected String |
_updateContainer |
protected Boolean |
_useAjax |
static String |
BUTTON_PERFORMED_DELETE_ACTION |
static String |
BUTTON_PERFORMED_EDIT_ACTION |
static String |
BUTTON_PERFORMED_INSPECT_ACTION |
static String |
BUTTON_PERFORMED_SELECT_ACTION |
extraBindings, FALSE, log, TRUE
_dynamicBindings
_Extension, _IsEventLoggingEnabled, _keyAssociations
_CLASS
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
NullValue
_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(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(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.
|
String |
updateContainer()
ID of the update container for this button's ajax update.
|
Boolean |
useAjax()
Utility method, returns whether shouldAllowInlineEditing and shouldUseAjax are true
|
appendToResponse, 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, valueForBinding
invokeAction, 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, variableWithName
public static final String BUTTON_PERFORMED_DELETE_ACTION
public static final String BUTTON_PERFORMED_EDIT_ACTION
public static final String BUTTON_PERFORMED_SELECT_ACTION
public static final String BUTTON_PERFORMED_INSPECT_ACTION
protected String _buttonLabel
protected String _buttonClass
protected String _updateContainer
protected Boolean _useAjax
public ERMDActionButton(WOContext context)
public String updateContainer()
public void postNotification(String note)
note
- public final boolean synchronizesVariablesWithBindings()
synchronizesVariablesWithBindings
in class ERDCustomComponent
false
public EOEnterpriseObject object()
public WODisplayGroup displayGroup()
public EODataSource dataSource()
protected EOEnterpriseObject localInstanceOfObject()
public boolean shouldAllowInlineEditing()
public boolean shouldUseAjax()
public Boolean useAjax()
public WOComponent nextPageInPage(D2WPage parent)
protected com.webobjects.directtoweb.SelectPageInterface parentSelectPage()
protected WOComponent enclosingPageOfClass(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 – 2024 Project Wonder.