HTML 内のコンテンツの区域またはブロックとしての役割を果たします。 他のコントロールとテキストが含まれます。
<xp:div attributes>content</xp:div>
カテゴリ | プロパティ |
---|---|
アクセシビリティ | role、title |
basics | attrs、binding、dir、id、lang、loaded、rendered、rendererType |
dojo | dojoAttributes、dojoType |
イベント | onclick、 ondblclick、 onkeydown、 onkeypress、onkeyup、 onmousedown、onmousemove、onmouseout、onmouseover、onmouseup |
styling | disableTheme、style、styleClass、themeId |
実行時に、区域のコンテンツが、プロパティが割り当てられた状態で ページに表示されます。
<xp:div style="font-weight:bold;padding-bottom:20.0px">
Day phone =>
<xp:inputText id="inputText2" value="#{document1.phoneday}"></xp:inputText>
</xp:div>
<xp:div style="font-weight:bold">
Night phone =>
<xp:inputText id="inputText3" value="#{document1.phonenight}"></xp:inputText>
</xp:div>