Transformer Tags


This library contains legacy PT Transformer Tags from the 5.0 portal that are not in the standard library. These tags are not used with the standard <pt:library.tag/> format. They are either used as URLs, or as 5.x style tags without the library (<pt:tag/>).

Tag Library Information
Nametransformer
Version1.0
 

Tag Summary
imagesThe //images URI constant is replaced with the URL to the portal Image Service (previously called the image server).
namespaceThis tag allows you to define your own token (in the pt:token attribute), which is replaced with the portlet ID. Note: Valid values for the token must be in the ASCII range 0x21 to 0x7E, excluding "<". The scope of the token runs from the tag defining it to the end of the file; you cannot use a token prior to defining it. A second pt:namespace tag with a different token redefines it; two tokens cannot be defined at the same time.
returnThe //return URI constant is replaced with an URL that returns users to the portal page from which they came.
stylesThe //styles URI constant is replaced with the current portal stylesheet link for use in portlets and hosted gatewayed HTML pages. This tag will switch stylesheets depending if adaptive layout mode or legacy mode is enabled.This tag can also be used in non-hosted gatewayed HTML pages if you want to use the styles specified for adaptive layout mode. Otherwise, non-hosted gatewayed HTML pages will always use the legacy stylesheets.


Note: The pt:standard.stylesheets tag should be used to reference the portal stylesheet in HEAD or BODY tags on gatewayed pages. (Hosted pages and portlets cannot contain HEAD or BODY tags.)

transformerThis tag turns off transformation on a gatewayed page. To disable transformation, set the pt:fixurl attribute to "off" as shown below. The transformer will not insert calls to the "FixURLForPlumtree" function for the rest of the file, unless you switch the feature back on in a subsequent directive with a pt:fixurl attribute of "on".
urlThis tag transforms URLs that should be gatewayed. If the URL in the pt:href attribute is outside the gateway, it will be transformed to an absolute URL.
Note: This feature does not draw a link in HTML; it obtains the URL as a string and passes it to a client-side function, as shown in the following example.
userinfoThe userInfo tag is replaced with the value of the specified User Information setting. Note that this tag uses camel case for the tag name (userInfo).
usersettingThe userSetting tag is replaced with the value of the specified user preference from the Plumtree database. This tag will decode %uHHHH encoded values stored in the Plumtree database.
Note: You must configure the Web Service object to send the appropriate settings to access them using the userSettings tag. These settings are configured in the associated Web Service editor on the Preferences page. These settings are available for Federated Search, Content Crawlers and Portlets only. Note that this tag uses camel case for the tag name (userSetting).
 


Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-3 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.