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 |
com.webobjects.appserver.WOComponent._EventLoggingEnabler, com.webobjects.appserver.WOComponent.Event
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.MapImplementation, com.webobjects.foundation.NSKeyValueCoding.Null<T>, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
com.webobjects.foundation.NSValidation._MethodBinding, com.webobjects.foundation.NSValidation._ValidationBinding, com.webobjects.foundation.NSValidation.DefaultImplementation, com.webobjects.foundation.NSValidation.Utility, com.webobjects.foundation.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
Constructor and Description |
---|
ERMDActionButton(com.webobjects.appserver.WOContext context) |
Modifier and Type | Method and Description |
---|---|
com.webobjects.eocontrol.EODataSource |
dataSource()
The current data source.
|
WODisplayGroup |
displayGroup()
The current display group.
|
protected com.webobjects.appserver.WOComponent |
enclosingPageOfClass(Class<?> c)
Utility to return the first enclosing component that matches the given class, if there is one.
|
protected com.webobjects.eocontrol.EOEnterpriseObject |
localInstanceOfObject()
Utility method to return the local instance of the object as determined by the
useNestedEditingContext binding
|
com.webobjects.appserver.WOComponent |
nextPageInPage(D2WPage parent)
Utility to return the next page in the enclosing page.
|
com.webobjects.eocontrol.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(com.webobjects.appserver.WOContext context)
public String updateContainer()
public void postNotification(String note)
note
- public final boolean synchronizesVariablesWithBindings()
synchronizesVariablesWithBindings
in class ERDCustomComponent
false
public com.webobjects.eocontrol.EOEnterpriseObject object()
public WODisplayGroup displayGroup()
public com.webobjects.eocontrol.EODataSource dataSource()
protected com.webobjects.eocontrol.EOEnterpriseObject localInstanceOfObject()
public boolean shouldAllowInlineEditing()
public boolean shouldUseAjax()
public Boolean useAjax()
public com.webobjects.appserver.WOComponent nextPageInPage(D2WPage parent)
protected com.webobjects.directtoweb.SelectPageInterface parentSelectPage()
protected com.webobjects.appserver.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 – 2020 Project Wonder.