<formBean>要素
ネームスペース: http://xmlns.oracle.com/uix/struts
派生元: <ui:boundValue>要素
グループ: UIX Components
要素の型: BoundValue

<formBean>要素は、現在のStrutsフォームBeanのプロパティにアクセスするBoundValueです。

構文
<formBean
    [ property="string" ]
>
</formBean>

注意:
  • この要素は派生元要素のすべての属性と子要素を持つことができます。

  • 説明

    <formBean>要素は、現在のStrutsフォームBeanのプロパティにアクセスするBoundValueです。

    <styledText>のtext属性は、formにより記述されるBeanのuserプロパティを使用します。

                <struts:form name="SomeForm" beanName="userBean">
                 <contents>
                  <styledText>
                   <boundAttribute name="text">
                    <struts:formBean property="user"/>
                   </boundAttribute>
                  </styledText>
                 </contents>
                </struts:form>


    <styledText>のtext属性は、formにより記述されるBeanのuserプロパティを使用します。

                <struts:form name="SomeForm" beanName="userBean">
                 <contents>
                  <styledText>
                   <boundAttribute name="text">
                    <struts:formBean property="user"/>
                   </boundAttribute>
                  </styledText>
                 </contents>
                </struts:form>

    属性

    説明
    property プロパティ名。 この属性はデータ・バインドできます。
    string