contentType - Content Type

Specifies the content type, text or HTML.

Category

format

Syntax

contentType="text|html"

Usage

In Design mode, click All Properties and look for contentType under format.

The default content type is text.

Examples

This Computed Field control uses HTML as the content type.
<xp:text escape="true" id="computedField1"
	value="#{javascript:return requestScope.number1 + requestScope.number2}"
	contentType="html">
	<xp:this.converter>
		<xp:convertNumber type="number"></xp:convertNumber>
	</xp:this.converter>
</xp:text>