A JSP can call view mapping functionality by including a getItemMapping
tag. This tag is defined in the bizui
tag library:
<ATG9dir>/BIZUI/taglibs/bizui/tld/bizui-1_0.tld
In order to call getItemMapping
, the JSP must include this taglib
directive:
<%@ taglib prefix="biz" uri="http://www.atg.com/taglibs/bizui" %>
Parameters
getItemMapping
has the following parameters:
Parameter | Description |
---|---|
| The fallback mode. |
| The versioned repository item or virtual file |
| The item descriptor name or VFS file type of the item (if the |
| The Nucleus component path of the item (if the |
| The map mode to use for this item. For more information, see Map Modes. |
| A list of properties that are defined in the specified item or item descriptor. If this parameter is set, the View Mapping system processes only the listed properties. |
| Optionally specifies the mode to use for read-only properties. |
| A boolean property that specifies whether to show properties that do not have explicit mappings. The default is true. |
| A boolean property that specifies whether to show (true) or hide (false) expert properties. |
For usage examples, see the pages in this directory:
<ATG9dir>/PubPortlet/PubPortlets.ear/portlets.war/html/ProjectsPortlet
For example, assetEditPage.jsp
contains an instance of the getItemMapping
tag used in the context of a top-level itemMapping
.