|
Project Wonder 5.0.0.8794 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
er.extensions.components.ERXComponent
er.extensions.components.ERXNonSynchronizingComponent
er.extensions.components.ERXStatelessComponent
er.extensions.localization.ERXLocalizedString
public class 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/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.NSValidation |
|---|
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
| Field Summary |
|---|
| Fields inherited from class er.extensions.components.ERXComponent |
|---|
_dynamicBindings |
| Fields inherited from class com.webobjects.appserver.WOComponent |
|---|
_Extension, _IsEventLoggingEnabled, _keyAssociations, MINUSONE |
| 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.components.ERXStatelessComponent |
|---|
isStateless, reset, valueForBooleanBinding, valueForBooleanBinding, valueForBooleanBinding, valueForIntBinding, valueForObjectBinding, valueForObjectBinding |
| Methods inherited from class er.extensions.components.ERXNonSynchronizingComponent |
|---|
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: Thu, Jan 8, 2009 12:32 PM EST | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||