This tag takes the text you specify and modifies it accordingly. You can configure this tag to make the following modifications, which are performed in this order:

Keep in mind that the resultant text string is longer than the value indicated by the maxLength attribute if you also use the appendedText attribute. The resultant text is saved to a String result object named by the var attribute.

Note: This tag is an instance of the EscapeHTMLTextTag class.

Attributes

The following attributes are defined for the pws:display tag:

Attributes

Description

Required?

var

Names the result object to contain the text.

yes

text

The text that you want to modify.

yes

appendedText

The text that should be appended to the resultant text.

no

maxLength

The maximum number of characters that remain in the text after HTML characters are removed. When you use this attribute, the text ends just before the first space or, if that exceeds the maxLength value, at the maxLength value itself.

no