com.webobjects.directtoweb
Class D2WQueryToManyField
java.lang.Object
|
+--com.webobjects.appserver.WOElement
|
+--com.webobjects.appserver.WOComponent
|
+--com.webobjects.directtoweb.D2WComponent
|
+--com.webobjects.directtoweb.D2WStatelessComponent
|
+--com.webobjects.directtoweb.QueryComponent
|
+--com.webobjects.directtoweb.D2WQueryToManyField
- All Implemented Interfaces:
- Cloneable, com.webobjects.directtoweb.generation.DTWGeneration, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, WOActionResults
- public class D2WQueryToManyField
- extends QueryComponent
This property-level component builds a query based on the value for a particular key of a destination object of a to-many relationship.
Since this component does not traverse the relationship (unlike D2WQueryToManyRelationship), it is appropriate when the relationship has many objects.
Property-level components are not accessed programmatically. Instead, you use the Web Assistant 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 property-level component to display a property, use D2WCustomComponent.
- 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 |
D2WQueryToManyField
public D2WQueryToManyField(WOContext aContext)
- This method is intentionally undocumented. You should never have to invoke or customize it.
replacementAssociationForAssociation
public WOAssociation replacementAssociationForAssociation(WOAssociation oldAssociation,
String oldBinding,
com.webobjects.directtoweb.generation.DTWTemplate aTemplate,
WOContext aContext)
- This method is intentionally undocumented. You should never have to invoke or customize it.
- Overrides:
replacementAssociationForAssociation
in class QueryComponent
reset
public void reset()
- This method is intentionally undocumented. You should never have to invoke or customize it.
- Overrides:
reset
in class QueryComponent
- Following copied from class:
com.webobjects.directtoweb.D2WStatelessComponent
- See Also:
D2WStatelessComponent.d2wContext()
,
D2WStatelessComponent.object()
setValue
public void setValue(Object newValue)
- This method is intentionally undocumented. You should never have to invoke or customize it.
- Overrides:
setValue
in class QueryComponent
value
public Object value()
- This method is intentionally undocumented. You should never have to invoke or customize it.
- Overrides:
value
in class QueryComponent
Copyright © 2003 Apple Computer, Inc.