View mapping objects can include a set of attributes that are passed to the corresponding JSP fragment. These attributes are added to the appropriate object through the ACC as key/value pairs and stored in the View Mapping repository. Because the attributes are stored in the repository rather than defined in each page, you can more easily adapt the appearance of assets or properties and maintain a large variety of display options that can vary according to the user or context.

Most of the itemViews and propertyViews that are provided with ATG Content Administration have predefined attributes with default values that are applied globally whenever a particular view is displayed. For example, the default HTML editor has the following available variables: appletHeight, appletWidth, columns, defaultValue, dictionary, inputFieldMaxlength, rows, simpleUI, spellCheck, textAboveField, textBelowField, and title.

As indicated in the previous section, itemViewMappings and propertyViewMappings, you can change these attributes in specific cases (rather than applying them globally) by creating itemViewMappings and propertyViewMappings that override the default attributes.

For more information on the attributes of each object, see View Mapping Repository.

 
loading table of contents...