Tuesday, November 13, 2012

PWS 2.0 Tag Library : ATG BCC


PWS 2.0 Tag Library 


The PWS 2.0 tag library contains a core set of tags that let you access ATG Content Administration-related Nucleus components in JSPs. By default these tags use the pws prefix, such as pws:getAsset, although you can use any prefix you like. All tags in this library support JSP 2.0 technology and are enabled to use the Expression Language (EL).

The tag library source and definition files are included in your ATG installation at the following location:

<ATGdir>/Publishing/taglib/pwsTaglib-2_0.tld

For code samples that use these tags, see:

<ATGdir>/PubPortlet/PubPortlets.ear/portlets.war/html

The PWS Tag Library includes the following tags:

pws:canFireTaskOutcome:
Determines whether a user can perform a workflow task.

pws:categorize
Organizes objects based on categories and properties.

pws:createVersionManagerURI:
Accesses the URI for the VersionManager used by a particular asset.

pws:display:
Modifies a text string by removing HTML formatting, adding text, and/or shortening the string length.

pws:getAsset:
Locates an asset using its URI.

pws:getAssignableUsers:
Assembles a list of the users who are permitted to execute a workflow task.

pws:getCurrentProject:
Accesses the current project ID.

pws:getDependentProjects:
Finds projects that have dependence on each other.

pws:getDeployedProjects:
Locates all projects deployed to a particular target site.

pws:getDeployment:
Accesses a deployment item using a deployment ID

pws:getDeployments:
Creates a list of deployment IDs for a given target site.

pws:getItemSubTypes:
Locates all subtypes for a particular asset type.

pws:getPlaceholderAsset:
Accesses an asset that is filling a placeholder

pws:getProcess:
Accesses a process using a process ID.

pws:getProcesses:
Creates a list of process IDs that have a certain status.

pws:getProject:
Accesses a project using a project ID.

pws:getProjectAssets:
Locates assets in a given project.

pws:getProjects:
Creates a list of project IDs that have a certain status.

pws:getProjectsPendingDeployment:
Creates a list of projects that have are not deployed despite the appearance of being deployment-ready.

pws:getTarget:
Accesses a target site via its ID.

pws:getTargets:
Creates a list of target IDs.

pws:getTasks:
Creates a list of tasks based on the criteria you specify.

pws:getUnsuppliedAssets:
Creates a list of unfilled placeholders for a given process.

pws:getVersionedAssetTypes:
Creates a list of asset types defined to work with the VersionManager.

pws:getWorkflowDefinitions:
Accesses all workflow definition files.

pws:getWorkflowDescriptor:
Finds the workflow descriptor used by a particular process.

No comments:

Popular Posts