|
WebObjects 5.2.3 | ||||||||||
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.EditRelationship com.webobjects.directtoweb.D2WEditToOneRelationship
D2WEditToOneRelationship is a property-level component that allows the user to choose the destination object of a to-one relationship. Since the component fetches all of the objects that can appear in the relationship, this component is slower than the D2WEditToOneFault component.
You can specify whether the user interface is a browser, pop-up list, or table of radio buttons. You can also specify the size of the browser or the number of columns of radio buttons to display.
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.
D2WEditToOneFault
,
D2WCustomComponent
,
D2WEditToManyRelationship
,
Serialized FormNested Class Summary |
Nested classes inherited from class com.webobjects.appserver.WOComponent |
WOComponent.Event |
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor |
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions |
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Nested classes inherited from class com.webobjects.foundation.NSValidation |
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Field Summary |
Fields inherited from class com.webobjects.directtoweb.D2WComponent |
currentObjectKey |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NullValue |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
KeyPathSeparator |
Constructor Summary | |
D2WEditToOneRelationship(WOContext aContext)
Creates an instance of D2WEditToOneRelationship with the specified context. |
Method Summary | |
String |
generatedToOneDescription()
Contributes to the template method that corresponds to the method toOneDescription . |
String |
methodNameToOneDescription()
Provides the name of the template method that corresponds to the method toOneDescription . |
WOAssociation |
replacementAssociationForAssociation(WOAssociation oldAssociation,
String oldBinding,
com.webobjects.directtoweb.generation.DTWTemplate aTemplate,
WOContext aContext)
Replaces the binding toOneDescription . |
Object |
toOneDescription()
Provides the closed label for a collapsible component. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public D2WEditToOneRelationship(WOContext aContext)
aContext
- instance of WOContextEditRelationship.EditRelationship(WOContext)
Method Detail |
public String generatedToOneDescription()
toOneDescription
.
The implementation is subject to change in future releases.
toOneDescription
toOneDescription()
,
methodNameToOneDescription()
,
replacementAssociationForAssociation(WOAssociation, String, DTWTemplate, WOContext)
public String methodNameToOneDescription()
toOneDescription
.
The current implementation concatenates "titleFor" and the property key.
The implementation is subject to change in future releases.
toOneDescription()
,
generatedToOneDescription()
,
replacementAssociationForAssociation(WOAssociation, String, DTWTemplate, WOContext)
,
D2WComponent.propertyKey()
public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation, String oldBinding, com.webobjects.directtoweb.generation.DTWTemplate aTemplate, WOContext aContext)
toOneDescription
.
The implementation is subject to change in future releases.
replacementAssociationForAssociation
in interface com.webobjects.directtoweb.generation.DTWGeneration
replacementAssociationForAssociation
in class EditRelationship
oldAssociation
- instance of WOAssociationoldBinding
- instance of StringaTemplate
- instance of DTWTemplateaContext
- instance of WOContext
toOneDescription()
,
methodNameToOneDescription()
,
EditRelationship.replacementAssociationForAssociation(WOAssociation, String, DTWTemplate, WOContext)
public Object toOneDescription()
keyWhenRelationship
equals the string userPresentableDescription
.
The implementation is subject to change in future releases.
D2WComponent.keyWhenRelationship()
,
EOEnterpriseObject.userPresentableDescription()
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |