value - Value (label or target assignment)

Assigns a label or target to a control.

Category

data

Syntax

value="value"

Usage

In Design mode, click the top tab under Properties and look for Label or Link type, or click All Properties and look for value under basics or data. Under Link type, look for URL, Anchor, or XPage.

Examples

This Label control displays the common user name in blue.
<xp:label
	value="#{javascript:session.getCommonUserName()}"
	id="label1" style="color:rgb(0,0,255)" for="inputText1">
</xp:label>
This Link control opens a URL.
<xp:link escape="true" id="link1"
	value="http://www.google.com" text="Google" title="Open Google">
</xp:link>