The View Mapping system combines two kinds of JSP fragments in order to provide a user interface to assets in the ATG Business Control Center:

The View Mapping system determines how to combine these JSPs by examining the links in the View Mapping object hierarchy, the attribute values stored in the object hierarchy, and the item descriptor in the View Mapping repository definition file.

itemView JSP fragments

An itemView object in the View Mapping system contains a pointer to an itemView JSP and identifies the itemView’s mode, such as view or edit. An itemView appears in the ATG Business Control Center as a tabbed page.

propertyView JSP fragments

propertyView JSP fragments control display of asset properties. Each data type uses a different propertyView JSP. For example, a property of type date is displayed with a date picker JavaScript control; while a property of type big string is presented using the default HTML editor propertyViewWYSIWYG HTML Editor. The HTML required to display each of these data types is generated from the propertyView JSP fragments.

For example, the default repository item itemView for edit mode—Standard RepositoryItem Editor—uses oneColumnEdit.jsp, located in:

<ATG2007.3dir>\PubPortlet\PubPortlets.ear\portlets.war\html\views\item\gsa

The oneColumnEdit.jsp page iterates through the properties specified in the asset’s repository definition file. It generates a form field for each property by including the appropriate propertyView JSP fragment.

For information on itemView and propertyView repository items, see View Mapping Repository.

 
loading table of contents...