initClosed - Initially Closed Value

Initially closes a section or not.

Category

basics

Syntax

initClosed="true|false"

Usage

In Design mode, click the top tab under Properties and look for Section is closed by default, or click All Properties and look for initClosed under basics.

By default, a section is opened.

Examples

In this example, the section is closed.
<xp:section id="section1" header="Phone numbers" type="tab"
	initClosed="true">
	<xp:inputText id="inputText2" value="#{document1.phoneday}"></xp:inputText>day
	<xp:br></xp:br>
	<xp:inputText id="inputText3" value="#{document1.phonenight}"></xp:inputText>night
</xp:section>