値を表示します。
<xp:text attributes>content</xp:text>
プロパティ | 説明 |
---|---|
id | デフォルトは computedField1、computedField2 などです。 |
value | 計算結果フィールドをデータ要素またはその他の値にバインドします。 |
カテゴリ | プロパティ |
---|---|
アクセシビリティ | role、title |
basics | attrs、binding、dir、escape、for、htmlFilter、id、lang、loaded、rendered、rendererType、tagName |
data | converter、value |
format | contentType |
styling | disableTheme、outerStyleClass、 style、styleClass、 themeId |
実行時に、計算結果フィールドの値がページに 表示されます。
<xp:text escape="true" id="computedField1"
value="#{javascript:return requestScope.number1 + requestScope.number2}">
<xp:this.converter>
<xp:convertNumber type="number"></xp:convertNumber>
</xp:this.converter>
</xp:text>
<xp:text escape="true" id="computedField4" value="#{document1.subject}"></xp:text>