panel - Panel
Serves as a container for other controls and text with common data sources and properties.
Category
Container ControlsSyntax
<xp:panel attributes>content</xp:panel>
Category | Properties |
---|---|
accessibility | role, title |
basics | attrs, binding, dir, id, loaded, rendered, rendererType, tagName |
data | acl, data, dataContexts, readonly |
dojo | dojoAttributes, dojoType |
events | onClientLoad |
styling | disableTheme, outerStyleClass, style, styleClass, themeId |
Usage
At run time, the content of the panel appears on the page with any assigned data sources and properties.Examples
This Panel control defines a data source, and contains text and edit boxes.<xp:panel style="height:60.0px;width:408.0px">
<xp:this.data>
<xp:dominoDocument var="document2" formName="form1"></xp:dominoDocument>
</xp:this.data>
<xp:inputText id="inputText2" value="#{document2.phoneday}"></xp:inputText>
day phone <xp:br></xp:br>
<xp:inputText id="inputText3" value="#{document2.phonenight}"></xp:inputText>
night phone
</xp:panel>