com.webobjects.directtoweb
Class D2WEditToOneFault
java.lang.Object
|
+--com.webobjects.appserver.WOElement
|
+--com.webobjects.appserver.WOComponent
|
+--com.webobjects.directtoweb.D2WComponent
|
+--com.webobjects.directtoweb.D2WStatelessComponent
|
+--com.webobjects.directtoweb.D2WDisplayToOne
|
+--com.webobjects.directtoweb.D2WEditToOneFault
- All Implemented Interfaces:
- Cloneable, com.webobjects.directtoweb.generation.DTWGeneration, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, WOActionResults
- public class D2WEditToOneFault
- extends D2WDisplayToOne
- implements com.webobjects.directtoweb.generation.DTWGeneration
- See Also:
- Serialized Form
Methods inherited from class com.webobjects.directtoweb.D2WComponent |
allEntities, allowCollapsing, applicationPort, assistantPort, attribute, backgroundColorForHeaderRow, backgroundColorForPage, backgroundColorForTable, backgroundColorForTableDark, backgroundColorForTableLight, color, currentSettings, currentUrl, d2wContextVisibleEntityNamesCountPlus1, defaultRowspan, displayNameForKeyWhenRelationship, displayNameForProperty, displayPropertyKeys, dynamicPages, entity, entityName, formatter, generationReplacementFor, generationReplacementForCurrentObject, hasCustomKey, hasEntity, hasNoColor, homeClicked, homeHref, isEditing, isEntityReadOnly, isEntityReadOnly, isLiveAssistantEnabled, isNotBoldAsBoolean, isNotItalicAsBoolean, isPropertyAnAttribute, isWebAssistantActive, isWebAssistantConnected, isWebAssistantEnabled, keyForGenerationReplacementForVariableNamed, keyWhenRelationship, lastUrl, length, logout, objectPropertyValue, objectPropertyValueIsNonNull, pageTitle, property, propertyKey, propertyValueClassName, relationship, resourcePathURL, sessionID, setCurrentSettings, setDynamicPages, setEntities, setEntity, setEntityName, setLocalContext, setObject, setPropertyKey, setResourcePathURL, setTask, setTasks, showBanner, showWebAssistant, submitActionName, target, task, tasks, visibleEntityNames |
Methods inherited from class com.webobjects.appserver.WOComponent |
appendToResponse, 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, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForKey, valueForKeyPath |
D2WEditToOneFault
public D2WEditToOneFault(WOContext aContext)
- Creates an instance of D2WEditToOneFault with the specified context.
- Parameters:
aContext
- instance of WOContext- See Also:
D2WDisplayToOne.D2WDisplayToOne(WOContext)
editRelationship
public WOComponent editRelationship()
- Provides the action for a WOImageButton.
Returns an edit-relationship page for the target entity.
The implementation is subject to change in future releases.
- Returns:
- instance of WOComponent
- See Also:
helpString()
,
D2WComponent.relationship()
,
D2W.editRelationshipPageForEntityNamed(String, WOSession)
helpString
public String helpString()
- Provides the
alt
and name
values
for a WOImageButton.
Returns a brief description of the action.
The implementation is subject to change in future releases.
- Returns:
- instance of String
- See Also:
editRelationship()
methodNameForEditRelationship
public String methodNameForEditRelationship()
- Provides the name of the template method that corresponds to
the method
editRelationship
.
The current implementation returns the concatenation of
"edit", the property key, and "Action".
The implementation is subject to change in future releases.
- Returns:
- instance of String
- See Also:
editRelationship()
,
replacementAssociationForAssociation(WOAssociation, String, DTWTemplate, WOContext)
,
D2WComponent.propertyKey()
replacementAssociationForAssociation
public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation,
String oldBinding,
com.webobjects.directtoweb.generation.DTWTemplate aTemplate,
WOContext aContext)
- Replaces the bindings
toOneDescription
and
editRelationship
.
The implementation is subject to change in future releases.
- Specified by:
replacementAssociationForAssociation
in interface com.webobjects.directtoweb.generation.DTWGeneration
- Overrides:
replacementAssociationForAssociation
in class D2WDisplayToOne
- Parameters:
oldAssociation
- instance of WOAssociationoldBinding
- instance of StringaTemplate
- instance of DTWTemplateaContext
- instance of WOContext- Returns:
- instance of WOAssociation
- See Also:
editRelationship()
,
methodNameForEditRelationship()
,
D2WDisplayToOne.toOneDescription()
,
D2WDisplayToOne.replacementAssociationForAssociation(WOAssociation, String, DTWTemplate, WOContext)
,
D2WComponent.propertyKey()
,
D2WComponent.keyWhenRelationship()
Copyright © 2003 Apple Computer, Inc.