escape - Escape Characters

Indicates whether to escape characters that can be mistaken for XML and HTML markup.

Category

basics

Syntax

escape="true|false"

Usage

In Design mode, click All Properties and look for escape under basics.

The default is true.

Examples

This Computed Field control escapes XML and HTML markup.
<xp:text escape="true" id="computedField1"
	value="#{javascript:return requestScope.number1 + requestScope.number2}">
	<xp:this.converter>
		<xp:convertNumber type="number"></xp:convertNumber>
	</xp:this.converter>
</xp:text>