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

<form>要素は、beanName属性へのサポートを追加する、UIX Componentsのform要素のサブタイプです。

構文
<form
      beanName="string"
>
</form>

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

  • 説明

    <form>要素は、beanName属性へのサポートを追加する、UIX Componentsのform要素のサブタイプです。 beanName属性(必須)は、このformのフィールドへのデータ移入に使用されるStrutsフォームBeanを示す必要があります。


    次の例では、StrutsフォームBeanのuserBeanに基づいて、ユーザーおよびパスワード・フィールドが表示されます。 logonイベントが起動(<struts:action>イベント・ハンドラを使用して処理)されます。

                <struts:form name="SomeForm" beanName="userBean">
                 <contents>
                  <labeledFieldLayout>
                   <contents>
                    <struts:messageTextInput name="user" prompt="User"/<
                    <struts:messageTextInput name="password" prompt="Password" secret="true"/<
                   </contents>
                  </labeledFieldLayout>
                  <submitButton text="Log On" ctrl:event="logon"/>
                 </contents>
                </struts:form>

    属性

    説明
    beanName フォームBeanの名前。  必須。
    string