label - Label (property)

Specifies the visible label for a control.

Category

basics

Syntax

label="label"

Usage

In Design mode, click the top tab under Properties and look for Label, or click All Properties and look for label under basics.

Examples

This Tabbed Panel control has two panels with labels.
<xp:tabbedPanel id="tabbedPanel1" selectedTab="tabPanel1">
	<xp:tabPanel id="tabPanel1" label="Day">
		<xp:inputText id="inputText2"
			value="#{document1.phoneday}">
		</xp:inputText>
	</xp:tabPanel>
	<xp:tabPanel label="Night" id="tabPanel2">
		<xp:inputText id="inputText3"
			value="#{document1.phonenight}">
		</xp:inputText>
	</xp:tabPanel>
</xp:tabbedPanel>