NoDocTitle

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

About Oracle WebCenter Ensemble Adaptive Tag Libraries

Oracle WebCenter Ensemble provide a collection of useful XML tags that can be included in the markup returned by any gatewayed page, including pagelets.

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 pagelet/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 Ensemble. For details, see Oracle WebCenter Ensemble Adaptive Tag Library (pt:ensemble).

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