Core Tags


This library provides a basic set of tags that provide some of the core tag functionality, like errors and debug mode.

Tag Library Information
Namecore
Version1.0
 

Tag Summary
commentThis tag is used to display comments in the untransformed source HTML. When this tag is transformed, the contents of this tag will not be displayed in the HTML sent to the browser.
debugmodeThis tag turns tag debug mode on and off. When debug mode is on, tags will display HTML comments before and after they are executed to aid in debugging. Tags may also have custom behavior in debug mode. This tag uses an editable shared variable for debug mode (see com.plumtree.portaluiinfrastructure.tags.tasks.TagStateTasks.GetIsDebugMode for more details).

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

htmlThis tag displays an HTML tag, allowing for attribute value replacement. Simply use the pt:tag attribute to specify the name of the HTML tag to display, and then insert the HTML tag attributes as normal XML attributes. They will get processed and added to the HTML tag. If an attribute starts with the pt://images URI constant it will be replaced with the full image server URL when used in the portal.
localizeThis tag will display the localized version of the string with the given string ID and string file. It will also replace the tokens, {0},{1},..., if a replacement is given via the optional string replacement variables.
tagdefargDefines an argument value this Tag definition expects. Argument values are passed to Tag definitions by declaring XML attributes on the includetagdef tag.
tagdefThis tag allows you to define a block of arbitrary HTML and/or Adaptive Tags to display in multiple locations. Use the pt:logic.includetagdef to display the content defined by this tag. Create a Tag Definition by placing the block of HTML and Adaptive Tags in the body of this tag and assign an id with the defid attribute. Tag definitions are declared in the Tag definition file, by default located on the WCI imageserver. This file is automatically processed when the pt:logic.includetagdef tag is used. It is also possible to declare Tag definitions in Portlets or Adaptive Layout files, but the Tag Definition is only available on that page. Adaptive Tags in a Tag Definition are not executed until displayed with the pt:logic.includetagdef
includetagdefThis tag displays Tag Definitions, which are blocks of HTML and Adaptive Tags created by the pt:logic.tagdef tag. Use Tag variables to pass run-time parameters to Tag Definitions. Names and values of XML attributes (Tag attributes without the pt: prefix) are converted to Tag scope Tag variables. For example, an XML attribute width=500 sets a Tag scope tag variable that is accessible from the Tag definition as a Tag variable with the name 'width' with a value of '500'.
tagdefsharedDefines a block of content that is only displayed once every page for each Tag definition. Use this tag for Javascript, CSS or HTML shared between multiple Tag definitions. If more than one block of content is needed, use the id attribute to assign a unique id to each shared block.
 


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.