Project Wonder 5.0

er.directtoweb.components
Class ERD2WPropertyName

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WOComponent
          extended by com.webobjects.directtoweb.D2WComponent
              extended by com.webobjects.directtoweb.D2WStatelessComponent
                  extended by er.directtoweb.components.ERD2WStatelessComponent
                      extended by er.directtoweb.components.ERD2WPropertyName
All Implemented Interfaces:
WOActionResults, com.webobjects.directtoweb.generation.DTWGeneration, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, Cloneable
Direct Known Subclasses:
ERExcelPropertyName, ERMD2WPropertyName

public class ERD2WPropertyName
extends ERD2WStatelessComponent

Used for displaying the propertyName in a template.

See Also:
Serialized Form
Bindings
localContextlocalContext
           
D2W Keys
displayRequiredMarkerCelldisplayRequiredMarkerCell
           
escapeHTMLescapeHTML
           
displayNameForPropertydisplayNameForProperty
           
componentNamecomponentName
           
customComponentNamecustomComponentName
           
hidePropertyNamehidePropertyName
           
displayRequiredMarkerdisplayRequiredMarker
           
keyPathsWithValidationExceptionskeyPathsWithValidationExceptions
           

Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent
WOComponent._EventLoggingEnabler, 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.NSKeyValueCoding
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Field Summary
protected  NSDictionary _contextDictionary
           
protected  String _displayNameForProperty
           
 String currentKey
           
static Logger log
           
 
Fields inherited from class com.webobjects.directtoweb.D2WComponent
_eo, _localContext, currentObjectKey
 
Fields inherited from class com.webobjects.appserver.WOComponent
_Extension, _IsEventLoggingEnabled, _keyAssociations
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling
_CLASS
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
NullValue
 
Fields inherited from interface com.webobjects.foundation.NSValidation
_CLASS
 
Constructor Summary
ERD2WPropertyName(WOContext context)
           
 
Method Summary
 NSDictionary contextDictionary()
           
 NSDictionary contextDictionaryForPropertyKey()
           
 Object currentValue()
           
 String d2wComponentName()
           
 boolean d2wComponentNameDebuggingEnabled()
           
 boolean d2wDebuggingEnabled()
           
 String displayNameForProperty()
           
 boolean displayRequiredMarker()
           
 boolean hasNoErrors()
           
 boolean hasPropertyName()
           
 NSArray keyPathsWithValidationExceptions()
           
 void reset()
           
 void takeValuesFromRequest(WORequest r, WOContext c)
           
 boolean validationExceptionOccurredForPropertyKey()
           
 String width()
           
 
Methods inherited from class er.directtoweb.components.ERD2WStatelessComponent
appendToResponse, clickToOpenEnabled
 
Methods inherited from class com.webobjects.directtoweb.D2WStatelessComponent
d2wContext, isStateless, localContext, object
 
Methods inherited from class com.webobjects.directtoweb.D2WComponent
allEntities, allowCollapsing, applicationPort, assistantPort, attribute, backgroundColorForHeaderRow, backgroundColorForPage, backgroundColorForTable, backgroundColorForTableDark, backgroundColorForTableLight, color, currentSettings, currentUrl, d2wContextVisibleEntityNamesCountPlus1, defaultRowspan, displayNameForKeyWhenRelationship, 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, replacementAssociationForAssociation, 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
__valueForBinding, _associationWithName, _awakeInContext, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, 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, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

public static final Logger log

_displayNameForProperty

protected String _displayNameForProperty

_contextDictionary

protected NSDictionary _contextDictionary

currentKey

public String currentKey
Constructor Detail

ERD2WPropertyName

public ERD2WPropertyName(WOContext context)
Method Detail

displayNameForProperty

public String displayNameForProperty()
Overrides:
displayNameForProperty in class com.webobjects.directtoweb.D2WComponent

reset

public void reset()
Overrides:
reset in class com.webobjects.directtoweb.D2WStatelessComponent

hasNoErrors

public boolean hasNoErrors()

d2wComponentNameDebuggingEnabled

public boolean d2wComponentNameDebuggingEnabled()

d2wDebuggingEnabled

public boolean d2wDebuggingEnabled()

currentValue

public Object currentValue()

contextDictionary

public NSDictionary contextDictionary()

contextDictionaryForPropertyKey

public NSDictionary contextDictionaryForPropertyKey()

d2wComponentName

public String d2wComponentName()

width

public String width()

hasPropertyName

public boolean hasPropertyName()

displayRequiredMarker

public boolean displayRequiredMarker()

takeValuesFromRequest

public void takeValuesFromRequest(WORequest r,
                                  WOContext c)
Overrides:
takeValuesFromRequest in class WOComponent

validationExceptionOccurredForPropertyKey

public boolean validationExceptionOccurredForPropertyKey()

keyPathsWithValidationExceptions

public NSArray keyPathsWithValidationExceptions()

Last updated: Wed, Feb 22, 2012 • 07:00 AM EST

Copyright © 2002 – 2011 Project Wonder.