To localize these values, first you must associate a resource bundle using an <attribute name="resourceBundle"... />
tag like:
<attribute name="resourceBundle"
value="resourceBundleName
"/>
You can use the <attribute>
tag to set the resource bundle at either the property, table, or item descriptor level. A property will use its own resourceBundle
attribute if it is set. If not, it looks for a resourceBundle
attribute set in its <table>
tag, and then for a resourceBundle
attribute set in its <item-descriptor>
tag. For example:
<item-descriptor name="user" ....>
<attribute name="resourceBundle"
value="atg.userprofiling.ProfileResources"/>
...
If you are using xml-combine="append"
to add properties to an item descriptor defined in a different configuration layer, do not set the resourceBundle
attribute in the item descriptor , as it will overwrite the setting of resourceBundle
in the other configuration level. Set the resourceBundle
at either the table or property level instead.