An itemView
specifies a JSP fragment that renders a page of information for a particular asset type in a given mode.
Item descriptor Definition
The itemView
item descriptor is defined in ViewMapping.xml
as follows:
<item-descriptor name="itemView" display-property="name" query-cache-size="10"> <table name="vmap_iv" type="primary" id-column-name="id"> <property name="id" data-type="string"/> <property name="name"/> <property name="description"/> <property name="uri"/> <property name="applicationName" column-name="app_name"/> <property name="mode" column-name="mode_id" required="true" item-type="mapMode"/> </table> <!-- attributes property --> <table name="vmap_iv2ivad_rel" type="multi" id-column-name="view_id" multi-column-name="name"> <property name="attributes" component-item-type="itemViewAttributeDefinition" column-name="attr_id" data-type="map" cascade="update,delete"/> </table> </item-descriptor>
itemView Properties
itemView
properties include the following:
Property | Description |
---|---|
| The name of the |
| Optional description of the |
| The URI of the JSP fragment that renders this view. |
| Name of the Web application where this view resides. The value is the display name defined for the application in its |
| The map mode to use for this view. For more information, see Map Modes. |
| Optional key/value pairs that define an attribute of this |
Example
The following table shows property settings for the itemView
Standard RepositoryItem Editor
:
Property | Setting |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|