<selection>要素
ネームスペース: http://xmlns.oracle.com/uix/controller

<selection>要素は、UIコンポーネントの行選択からページ・プロパティを導出します。

構文
<selection
      name="string"
    [ key="string" ]
>
</selection>

注意:
  • この要素は<property>要素内で使用されます。

  • 説明

    単一選択の表を使用する場合のみ有効です。


    次の例では、empIDというプロパティを、empTableという表の選択行のrowIDに設定します。

            <property name="empID">
              <selection name="empTable" key="rowID"/>
            </property>

    次の例は、表の作成方法を示すUIXのコードです。

    <table name="empTable">
     <tableData>
      <row text="Employee 1" eid="E1"/>
      <row text="Employee 2" eid="E2"/>
      <row text="Employee 3" eid="E3"/>
     </tableData>
     <tableSelection>
      <singleSelection/>
     </tableSelection>
     <contents>
      <text text="${uix.current.text}"/>
      <formValue name="rowID" value="${uix.current.eid}"/>
     </contents>
    </table>

    属性

    説明
    key 行のUIコンポーネントにおけるキー名。 pageプロパティは、選択行のこのコンポーネントの値に設定されます。
    string
    name 選択が定義されている複数行のUIコンポーネントの名前。  必須。
    string