A JSP can call view mapping functionality by including a getItemMapping tag. This tag is defined in the bizui tag library:

<ATG10dir>/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

fallbackMode

The fallback mode.

item

The versioned repository item or virtual file

itemName

The item descriptor name or VFS file type of the item (if the item parameter is not specified)

itemPath

The Nucleus component path of the item (if the item parameter is not specified)

mode

The map mode to use for this item. For more information, see Map Modes.

propertyList

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.

readOnlyMode

Optionally specifies the mode to use for read-only properties.

showDefault

A boolean property that specifies whether to show properties that do not have explicit mappings. The default is true.

showExpert

A boolean property that specifies whether to show (true) or hide (false) expert properties.

For usage examples, see the pages in this directory:

<ATG10dir>/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.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices