Standard Tags


This library contains the standard PT Transformer Tags from the 5.0 portal. It contains two versions of each tag: one that uses the original camelCase naming convention, and one that uses all lower case names for tag names and attributes. Certain Standard Tags, while not included in this library, are still supported.

Tag Library Information
Namestandard
Version1.0
 

Tag Summary
chooseThe choose, when and otherwise tags allow you to insert content on a page based on conditional statements of user and group membership. The choose tag denotes the start of a secured content section, and the when tags include a test condition that defines who has access to the enclosed content. The otherwise tags includes content that should be displayed as default. The only valid options for the test condition are stringToAclGroup(...).isMember($currentuser) and isGuest($currentuser). The logic.if tag can also be used to create conditional content.
currenttimeThis tag displays the date and time in the current user's locale. Only the full date and time can be displayed; there is no way to return just the date, just the time, or any other subset of information.

This tag does not display the contents of the tag and should only be used as a singleton tag (i.e. <pt:standard.currenttime/>), rather than as a tag with both an open and close tag.

displaymodeThis tag is used in a gateway page (as opposed to a MyPage or Community page) to set whether or not the page should be displayed in Hosted Mode. If the page is displayed in Hosted Mode, it will be surrounded by the Portal banner (header and footer). It can also be used to set the page title and subtitle, as well as the values returned by the pagename and realmname tags on a gateway page.

This tag does not display the contents of the tag and should only be used as a singleton tag (i.e. <pt:standard.displaymode/>), rather than as a tag with both an open and close tag.

gatewaylinkThis tag allows you to build gatewayed links to remote pages and include references to associated portal objects, usually a portlet or community. When the link is executed, the portal sends any preferences associated with the referenced object to the remote server.
loginlinkThe pt:loginLink tag creates a link to the portal login page. It is a best practice to include this link when the user accessing the page is a guest.
openerlinkThe pt:openerLink tag creates a link that can open or view an object (or properties of an object) that already exists within the portal.
otherwiseThe choose, when and otherwise tags allow you to insert content on a page based on conditional statements of user and group membership. The choose tag denotes the start of a secured content section, and the when tags include a test condition that defines who has access to the enclosed content. The otherwise tags includes content that should be displayed as default. The only valid options for the test condition are stringToAclGroup(...).isMember($currentuser) and isGuest($currentuser). The logic.if tag can also be used to create conditional content.
pagenameThis tag outputs the name of the current portal page (My Page or Community) or nothing if the current page is not a My Page or Community. The localized name is used if one is available. This value can also be controlled through the displaymode tag when on a gateway page.

This tag does not display the contents of the tag and should only be used as a singleton tag (i.e. <pt:standard.pagename/>), rather than as a tag with both an open and close tag.

realmnameThe tag outputs either the name of the current Communityor portal page type ("My Pages," "Documents," "Administration," or "Gateway"). This value can also be controlled through the displaymode tag when on a gateway page.

This tag does not display the contents of the tag and should only be used as a singleton tag (i.e. <pt:standard.realmname/>), rather than as a tag with both an open and close tag.

stylesheetsThis tag displays the current portal stylesheet links for display in the HEAD of any non-hosted gatewayed HTML page or layout page.It will always return the legacy stylesheet link regardless if adaptive layout mode is enabled or not.

Note: Hosted pages and portlets cannot contain <HEAD> or <BODY> tags. The page must be gatewayed to be transformed.

This tag does not display the contents of the tag and should only be used as a singleton tag (i.e. <pt:standard.stylesheets/>), rather than as a tag with both an open and close tag.

treelinkThis tag creates a link to a popup window that allows users to select options from a structured list of Plumtree objects.
treeThis tag creates a form button to a popup window that allows users to select options from a structured list of Plumtree objects.
treeurlThis tag outputs a URL to a tree that allows users to select options from a structured list of Plumtree objects. This URL is suitable for use in JavaScript.

This tag does not display the contents of the tag and should only be used as a singleton tag (i.e. <pt:standard.treeurl/>), rather than as a tag with both an open and close tag.

whenThe choose, when and otherwise tags allow you to insert content on a page based on conditional statements of user and group membership. The choose tag denotes the start of a secured content section, and the when tags include a test condition that defines who has access to the enclosed content. The otherwise tags includes content that should be displayed as default. The only valid options for the test condition are stringToAclGroup(...).isMember($currentuser) and isGuest($currentuser). The logic.if tag can also be used to create conditional content.
 


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.