Oracle WebCenter Interaction Web Service Development Guide

     Previous Next  Open TOC in new window   View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

About Oracle WebCenter Interaction Adaptive Tag Libraries

Oracle WebCenter Interaction provides a collection of useful XML tags that can be included in the markup returned by any gatewayed page, including portlets. These tag libraries include tags to display portal navigation components, portal UI components, and standard UI elements.

Using the attributes defined in the tag, the gateway transforms the XML and replaces it with standard HTML to be displayed in a browser. For example, when used in a banner portlet in the portal, the following code is replaced with the date and time in the current user's locale.
<pt:standard.currenttime xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>
The adaptive tag libraries provide access to a wide range of components.
The core tag library provides two basic tags to support core tag functionality.
  • pt:core.debugmode toggles debug mode.
  • pt:core.html allows you to use HTML tags within JavaScript, and supports attribute replacement.
The tags in the constants library provide access to useful URLs, including the stylesheet, Image Service, and the correct return URL for the current user.
Tag Replaced with Example
pt://styles The stylesheet URL in hosted pages and pagelets <link type="text/css" href="pt://styles" rel="StyleSheet"></link>
pt://images The URL to the Image Service <img src="pt://images/plumtree/portal/public/img/icon_help.gif">
pt://return A URL that returns users to the page from which they came (the page on which the pagelet that launched the page is hosted) <a href="pt://return">Back</a>

The common tag library provides access to useful functionality, including URL transformation and namespace definition. This library also allows you to insert error information in the page, and CSS and JavaScript references in the Head element in a gatewayed HTML page. For details, see Common Adaptive Tag Library (pt:common).

The tags in the logic library handle basic logic, including creating data objects and collections, setting shared variables, and looping over a data collection. For details, see Logic Adaptive Tag Library (pt:logic).

In addition to the tags above, platform-specific tags are available to access additional information and functionality in Oracle WebCenter Interaction.
  • Navigation tags in the plugnav library are used with data tags in the ptdata library to build complete custom navigation solutions for the portal. For details, see Implementing Custom Navigation Using Adaptive Tags.
  • The tags in the ptui library allow you to add standard portal user interface components to any portlet, including search inputs and buttons, login components, access to account settings, error messages, and more. Tags from the standard tag library can be used to display instance-specific information, including the date and time and the page name and type. For details, see Implementing Custom UI Elements Using Adaptive Tags.
  • The standard tag library includes tags for the following purposes:

    This package also contains most of the tags available in earlier versions, previously called "transformer tags." Legacy tags not included in the standard library are provided in the transformer tag library (6.1 and earlier) or the common tag library.

For detailed information on using tags, see Adaptive Tag Development Tips. For information on how the portal processes tags, see About Adaptive Tag Control Flow. You can also create custom tags; for details, see Creating Custom Adaptive Tags.

For a full list of tags and attributes, see the tagdocs. .


  Back to Top      Previous Next