Logic Tags
Tag value


This tag evaluates the attribute as a Transformer Tag attribute and displays the value.

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

Example:
<pt:logic.value pt:value="$var"/>
would display the value stored in var and
<pt:logic.value pt:value="$data.var"/>
would display the value stored in the IDataObject data with the key var.


Tag Information
Tag Namevalue

Attributes
NameTypeRequiredDefault ValueDescription
valuestringtruenullThe value to be displayed. Any displayed value is HTML encoded unless specified by the encode attribute.
encodeintfalse1Specify how to encode the URL title or not. 0: No encoding. Not encoding user entered string is a potential security risk as users could insert javascript that gets executed on the page. 1: HTML encoding for titles displayed directly on the page. 2: URL encoding for titles used in URLs. 3: Javascript encoding for titles used in Javascript.


Copyright 2005 Plumtree Software, Inc.