er.extensions.woextensions
Class WOToOneRelationship
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
er.extensions.components.ERXComponent
er.extensions.components.ERXNonSynchronizingComponent
er.extensions.components.ERXStatelessComponent
er.extensions.components.ERXArrayChooser
er.extensions.woextensions.WOToOneRelationship
- All Implemented Interfaces:
- WOActionResults, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, Cloneable
- Direct Known Subclasses:
- ERXToOneRelationship
public class WOToOneRelationship
- extends ERXArrayChooser
Back port from WO 5 WOExtensions. This component is binding compatible, but not source compatible.
- Author:
- ak
- See Also:
- Serialized Form
| Fields inherited from class er.extensions.components.ERXArrayChooser |
_dataSource, _destinationDisplayKey, _destinationEntityName, _destinationSortKey, _includeUnmatchedValues, _isMandatory, _list, _localizeDisplayKeys, _noneString, _relationshipKey, _sortCaseInsensitive, _sourceEntityName, _sourceObject, _uiStyle, _unmatchedValues, includeUnmatchedValuesDefault, localizeDisplayKeysDefault, log, NO_SELECTION_STRING, NO_SORT_STRING, sortCaseInsensitiveDefault, theCurrentItem |
| Methods inherited from class er.extensions.components.ERXArrayChooser |
_destinationEntityName, dataSource, destinationDisplayKey, destinationEntity, destinationEntityName, destinationSortKey, destinationSortKeys, editingContext, includeUnmatchedValues, isBrowser, isCheckBox, isMandatory, isPopup, isRadio, loadBindingsFromSelection, localizeDisplayKeys, noneString, qualifier, realRelationshipKey, realSourceObject, relationshipKey, setTheCurrentItem, sortCaseInsensitive, sourceEntityName, sourceObject, takeValuesFromRequest, theCurrentItem, theCurrentValue, uiStyle, unmatchedValues |
| Methods inherited from class er.extensions.components.ERXComponent |
_awakeInContext, _checkAccess, _frameworkName, _includeCSSResources, _includeJavascriptResources, additionalCSSFiles, additionalJavascriptFiles, appendToResponse, booleanValueForBinding, booleanValueForBinding, booleanValueForBinding, checkAccess, clickToOpenEnabled, componentName, defaultCSSPath, defaultJavascriptPath, dynamicBindings, floatValueForBinding, intValueForBinding, invokeAction, isPageAccessAllowed, localizer, objectValueForBinding, objectValueForBinding, pageWithName, postAppendToResponse, preAppendToResponse, primaryCSSFile, primaryJavascriptFile, stringValueForBinding, stringValueForBinding, useDefaultComponentCSS, useDefaultComponentJavascript |
| Methods inherited from class com.webobjects.appserver.WOComponent |
__valueForBinding, _associationWithName, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, isCachingEnabled, isEventLoggingEnabled, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, sleep, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding |
_selection
protected Object _selection
WOToOneRelationship
public WOToOneRelationship(WOContext aContext)
reset
public void reset()
- Overrides:
reset in class ERXArrayChooser
awake
public void awake()
- Overrides:
awake in class WOComponent
updateSourceObject
public void updateSourceObject(Object value)
setSelection
public void setSelection(Object value)
currentValues
public NSArray currentValues()
- Specified by:
currentValues in class ERXArrayChooser
selection
public Object selection()
theList
public NSArray theList()
- Overrides:
theList in class ERXArrayChooser
isSingleSelection
protected boolean isSingleSelection()
- Specified by:
isSingleSelection in class ERXArrayChooser
Copyright © 2002 – 2007 Project Wonder.