This tag assembles the URI used to locate a particular asset that is governed by the VersionManager. The attributes that are required depend on the asset type:

After the tag is executed, the resultant URI is stored in a result object named by the var attribute. If var is not specified, the URI string is sent to the page’s output stream.

Attributes

The following attributes are defined for the pws:createVersionManagerURI tag:

Attribute

Description

var

(optional) Names the result object to contain the VersionManager URI string.

versionManagerName

(optional) The name of the VersionManager. The default value is the PublishingVersionManager.

repositoryItem

The RepositoryItem object, required for RepositoryItem asset types if you have access to the item itself. Otherwise, set the attributes componentName, itemDescriptorName, and itemId.

componentName

The component that represents the RepositoryItem or virtual file.

If you specify this attribute, you must also specify the following attributes: either virtualFilePath or both of the following: itemDescriptorName and itemId.

itemDescriptorName
itemID

A file-based asset’s item descriptor name and item ID. These attributes must be used with componentName .

virtualFilePath

The path to the file-based asset stored in ATG.

This attribute also requires the attribute componentName.

virtualFile

The virtual file object, used for a versioned file if you have access to the file itself; otherwise, use attributes componentName and virtualFilePath.

object

A java.lang.Object that is either a RepositoryItem or a virtual file; required for any object whose data type is unknown.


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

Legal Notices