AquaLogic User Interaction Development Guide

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

About Cross-Platform Adaptive Tag Libraries

Cross-product adaptive tag libraries provide key functionality for use in pagelets that work in both ALI and Ensemble.

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 ALI and Ensemble. For details, see About ALI Adaptive Tag Libraries and Ensemble Adaptive Tag Library (pt:ensemble).

For a full list of tags and attributes, see the tagdocs. Tagdocs for all platforms are available on the API Libraries page.


  Back to Top      Previous Next