rendered - Visible

Makes a control visible or not.

Category

basics

Syntax

rendered="true|false"
Where false hides the control.

Usage

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

By default, a control is visible.

Examples

This Edit Box control is hidden if the document bound to the page is not editable.
<xp:inputText id="inputText1" value="#{document1.subject}"
	rendered="#{javascript:return document1.isEditable()}">
</xp:inputText>