|
WebObjects 5.4.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.appserver.WOElement com.webobjects.appserver.WOComponent com.webobjects.directtoweb.D2WComponent com.webobjects.directtoweb.D2WEditToManyFault
public class D2WEditToManyFault
D2WEditToManyFault is a property-level component that displays a hyperlink representing a to-many relationship. The hyperlink navigates to an edit-relationship page that allows the user to change which objects are in the relationship. This component does not traverse the relationship (unlike D2WEditToManyRelationship) making it appropriate for relationships that contain many objects.
Property-level components are not accessed programmatically. Instead, you use the Web Assistant or Rule Editor to choose the property-level component that Direct to Web uses to display a property on a particular entity and task page.
If you want to create a property-level component to edit a property, use D2WCustomComponent.
D2WEditToManyRelationship
,
D2WCustomComponent
,
D2WEditToOneFault
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent |
---|
WOComponent.Event |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation |
---|
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Field Summary | |
---|---|
EOEnterpriseObject |
browserItem
The item for a WOBrowser. |
Fields inherited from class com.webobjects.directtoweb.D2WComponent |
---|
currentObjectKey |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
KeyPathSeparator |
Constructor Summary | |
---|---|
D2WEditToManyFault(WOContext aContext)
Creates an instance of D2WEditToManyFault with the specified context. |
Method Summary | |
---|---|
NSArray |
browserList()
Provides the list for a WOBrowser. |
String |
browserListDescription()
Provides the closed label for a D2WCollapsibleComponentContent. |
String |
browserStringForItem()
Provides the display string for a WOBrowser. |
WOComponent |
editValues()
Provides the action for a WOImageButton. |
String |
helpString()
Provides the alt and name values
for a WOImageButton. |
String |
ivarNameForBrowserItem()
Provides the name of the template field that corresponds to the browserItem field. |
String |
methodNameBrowserListDescription()
Provides the name of the template method that corresponds to the method browserListDescription . |
String |
methodNameForEditValues()
Provides the name of the template method that corresponds to the method editValues . |
String |
methodNameListDescription()
Provides the name of the template method that corresponds to the method listDescription (if one exists). |
String |
plurifiedStrings()
Contributes to the template method that corresponds to the method browserListDescription . |
WOAssociation |
replacementAssociationForAssociation(WOAssociation oldAssociation,
String oldBinding,
DTWTemplate aTemplate,
WOContext aContext)
Replaces the associations that are pertinent to editing to-many relationships. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public EOEnterpriseObject browserItem
The implementation is subject to change in future releases.
D2WEditToManyFault.browserList()
,
D2WEditToManyFault.browserStringForItem()
Constructor Detail |
---|
public D2WEditToManyFault(WOContext aContext)
aContext
- instance of WOContextD2WComponent.D2WComponent(WOContext)
Method Detail |
---|
public NSArray browserList()
The implementation is subject to change in future releases.
D2WEditToManyFault.browserItem
,
D2WComponent.object()
,
D2WComponent.propertyKey()
public String browserListDescription()
The current implementation returns the concatenation of the number of destination objects and the name of the destination entity, if there are any objects; the string "N/A", otherwise.
The implementation is subject to change in future releases.
D2WEditToManyFault.browserList()
,
D2WComponent.relationship()
public String plurifiedStrings()
browserListDescription
.
The implementation is subject to change in future releases.
browserListDescription
D2WEditToManyFault.browserListDescription()
,
D2WEditToManyFault.methodNameBrowserListDescription()
,
D2WEditToManyFault.replacementAssociationForAssociation(WOAssociation, String, DTWTemplate, WOContext)
public String browserStringForItem()
The implementation is subject to change in future releases.
D2WEditToManyFault.browserItem
public WOComponent editValues()
The implementation is subject to change in future releases.
D2WEditToManyFault.helpString()
,
D2WComponent.relationship()
,
D2W.editRelationshipPageForEntityNamed(String, WOSession)
public String ivarNameForBrowserItem()
browserItem
field.
The current implementation returns the concatenation of "itemFor" and the property key.
The implementation is subject to change in future releases.
D2WEditToManyFault.browserItem
,
D2WEditToManyFault.replacementAssociationForAssociation(WOAssociation, String, DTWTemplate, WOContext)
,
D2WComponent.propertyKey()
public String helpString()
alt
and name
values
for a WOImageButton.
Returns a brief description of the action.
The implementation is subject to change in future releases.
D2WEditToManyFault.editValues()
public String methodNameForEditValues()
editValues
.
The current implementation returns the concatenation of "edit", the property key, and "Action".
The implementation is subject to change in future releases.
D2WEditToManyFault.editValues()
,
D2WEditToManyFault.replacementAssociationForAssociation(WOAssociation, String, DTWTemplate, WOContext)
,
D2WComponent.propertyKey()
public String methodNameListDescription()
listDescription
(if one exists).
The current implementation returns the concatenation of "listDescriptionFor", and the property key.
The implementation is subject to change in future releases.
D2WEditToManyFault.replacementAssociationForAssociation(WOAssociation, String, DTWTemplate, WOContext)
,
D2WComponent.propertyKey()
public String methodNameBrowserListDescription()
browserListDescription
.
The current implementation returns the concatenation of "displayStringFor", the property key, and "Item".
The implementation is subject to change in future releases.
D2WEditToManyFault.browserListDescription()
,
D2WEditToManyFault.replacementAssociationForAssociation(WOAssociation, String, DTWTemplate, WOContext)
,
D2WComponent.propertyKey()
public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation, String oldBinding, DTWTemplate aTemplate, WOContext aContext)
The bindings include browserList
,
browserListDescription
, browserItem
,
browserStringForItem
, and editValues
.
The implementation is subject to change in future releases.
replacementAssociationForAssociation
in interface DTWGeneration
replacementAssociationForAssociation
in class D2WComponent
oldAssociation
- instance of WOAssociationoldBinding
- instance of StringaTemplate
- instance of DTWTemplateaContext
- instance of WOContext
D2WEditToManyFault.browserList()
,
D2WEditToManyFault.browserListDescription()
,
D2WEditToManyFault.methodNameBrowserListDescription()
,
D2WEditToManyFault.browserItem
,
D2WEditToManyFault.browserStringForItem()
,
D2WEditToManyFault.ivarNameForBrowserItem()
,
D2WEditToManyFault.editValues()
,
D2WEditToManyFault.methodNameForEditValues()
,
D2WComponent.replacementAssociationForAssociation(WOAssociation, String, DTWTemplate, WOContext)
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |