The item-descriptor
tag defines a composite item descriptor.
item-descriptor attributes
Attribute | Description | Value |
---|---|---|
name | The name of the composite item descriptor. | Required |
default | Is this the composite repository’s default item descriptor? | Boolean |
display-property | You can set this property to the name of a repository item property. A user interface can then represent the repository item with this property. For example, a profile item descriptor might use | String |
display-name-resource | If you specify a resource bundle for this property with the | String |
link-method | The method used in retrieving properties from contributing repository items. See Link Methods. |
|
contributing-item-creation-policy | Specifies how and whether contributing repository items are created. See Creating Composite and Contributing Items. |
|
null-contributing-item-policy | Specifies what to do if a contributing repository items is requested, but not found in the underlying repository. See Missing Contributing Items. |
|
Example
<item-descriptor name="compositeUser" default="true" display-property="fooProperty" display-name-resource="itemDescriptorUser"> <attribute name="resourceBundle" value="atg.userprofiling.CompositeProfileTemplateResources" data-type="string"/> <primary-item-descriptor.../> <contributing-item-descriptor.../> ... </item-descriptor>
item-descriptor child tags
An item-descriptor
tag can enclose the following child tags: