disabled - Disabled
Disables a control or not.
Category
basicsSyntax
disabled="true|false"
Usage
Disabled controls cannot receive focus and cannot be included in page submissions.In Design mode, click the top tab under Properties and look for Disabled, or click All Properties and look for disabled under basics.
By default, a control is enabled.
Examples
This Edit Box control is disabled if the user is not Joe Bar.<xp:inputText id="inputText1" value="#{document1.subject}">
<xp:this.disabled>
<![CDATA[#{javascript:session.getCommonUserName() != "Joe Bar"}]]>
</xp:this.disabled>
</xp:inputText>