view - XPage

トップレベルのコンテナコントロール (つまり XPage 自体) を定義 します。

カテゴリ

なし

構文

<xp:view xmlns:xp="http://www.ibm.com/xsp/core" attributes>content</xp:view>

すべてのプロパティ

使用法

実行時に、ページがロードされたときにページのプロパティが適用 されます。

設計モードでページのプロパティを表示するには、ページ上のすべてのコントロールの外側を フォーカスします。

下の XPage は、データソースを定義し、編集ボックスとボタンが含まれています。
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
	<xp:this.data>
		<xp:dominoDocument var="document1" formName="form1"></xp:dominoDocument>
	</xp:this.data>
	<xp:inputText id="inputText1"
		value="#{document1.subject}" style="font-weight:bold">
	</xp:inputText>
	<xp:button value="submit" id="button1" 	style="font-weight:bold">
		<xp:eventHandler event="onclick"
			submit="true" refreshMode="complete" immediate="false" save="true">
		</xp:eventHandler>
	</xp:button>
</xp:view>