|
Project Wonder 2.0 | ||||||||||
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 er.extensions.ERXNonSynchronizingComponent er.extensions.ERXStatelessComponent er.extensions.ERXLocalizedString
Examples: 1) value = "Localize me" -> the localized value of "Localize me" 2) keyPath = "componentName" (note that the path must be a String) -> localized name of the parent component 3) object = bug, an EO -> localized version of bug.userPresentableDescription (may or may not be useful) 4) object = bug, keyPath = "state" -> localized version of the bugs state 5) templateString = "You have @assignedBugs.count@ Bug(s) assigned to you", object = session.user -> localized template is evaluated Bindings:
Bindings | |
object | the object to derive the value of, if not given and keyPath is set, parent() is assumed |
keyPath | the keyPath to get of the object which is to be localized |
value | string to localize |
templateString | the key to the template to evaluate with object and otherObject |
otherObject | second object to use with templateString |
Nested Class Summary |
Nested classes inherited from class com.webobjects.appserver.WOComponent |
WOComponent._EventLoggingEnabler, WOComponent.Event |
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions |
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Nested classes inherited from class com.webobjects.foundation.NSValidation |
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Field Summary |
Fields inherited from class er.extensions.ERXNonSynchronizingComponent |
_dynamicBindings |
Fields inherited from class com.webobjects.appserver.WOComponent |
_Extension, _IsEventLoggingEnabled, _keyAssociations |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
_CLASS, NullValue |
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.NSValidation |
_CLASS |
Constructor Summary | |
ERXLocalizedString(WOContext context)
|
Method Summary | |
Object |
object()
|
String |
value()
|
Methods inherited from class er.extensions.ERXStatelessComponent |
isStateless, reset, valueForBooleanBinding, valueForBooleanBinding, valueForBooleanBinding, valueForIntBinding, valueForObjectBinding, valueForObjectBinding |
Methods inherited from class er.extensions.ERXNonSynchronizingComponent |
booleanValueForBinding, booleanValueForBinding, booleanValueForBinding, dynamicBindings, intValueForBinding, localizer, objectValueForBinding, objectValueForBinding, stringValueForBinding, stringValueForBinding, synchronizesVariablesWithBindings |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ERXLocalizedString(WOContext context)
Method Detail |
public Object object()
public String value()
|
Last updated: Do, Dez 9, 2004 12:46 PM CET | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |