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

<applicationSwitcher>要素は、1つのアプリケーションから別のアプリケーションへの切替えに使用されます。 ApplicationSwitcherには任意の数のOptionBeanが含まれ、各OptionBeanは、ユーザーが選択できるオプションのアプリケーションを表します。
このBeanは、エージェントのタイプがPDA、携帯電話、音声の場合にはサポートされません。

構文
<applicationSwitcher
    [ destination="string" ]
    [ formName="string" ]
    [ formSubmitted="boolean" ]
    [ title="string" ]
    [ unvalidated="boolean" ]
>
   <contents><!-- indexed children --></contents>
</applicationSwitcher>

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

  • 説明

    <applicationSwitcher>要素は、1つのアプリケーションから別のアプリケーションへの切替えに、GlobalButtonBarで使用されます。 ApplicationSwitcherには任意の数のOptionBeanが含まれ、各OptionBeanは、ユーザーが選択できるオプションのアプリケーションを表します。 OptionBean内のテキストは、できるだけ短くしてください。

    name属性は必須です。 フォーム送信自体はオプションですが、Netscape 4.xで選択に応じた表示を正しく行うには、フォームにApplicationSwitcherが必要です。

    ApplicationSwitcherのイベント
    移動ボタンを押すと、次の名前と値のペアが送信されます。
    • 'event' = 'switchApp'
    • 'source'=ApplicationSwitcher名
    • 'type' = 'goto'
    • AppSwitcher名=選択したアプリケーションを表すOptionBeanの値


    <ctrl:content xmlns:ui="http://xmlns.oracle.com/uix/ui">
      <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    
        <contents>
          <form name="myForm">
            <contents>
    
              <applicationSwitcher name="mySwitcher"
                                   selectedIndex="2"
                                   formSubmitted="true">
                <contents>
                  <option text="iReceivables"
                          value="iReceivables"/>
                  <option text="Human Resources"
                          value="HumanResources"/>
                  <option text="Finance"
                          value="Finance"/>
                  <option text="iLearning"
                          value="iLearning"/>
                </contents>
              </applicationSwitcher>
    
            </contents>
          </form>
        </contents>
      </dataScope>
    </ctrl:content>
    
    <ctrl:handlers>
      <ctrl:event name="switchApp">
        <ctrl:method class="oracle.cabo.doc.demo.ApplicationSwitcherData"
            method="appSwitchEventHandler"/>
      </ctrl:event>
    </ctrl:handlers>

    属性

    説明
    destination フォーム送信が使用されていないときの送信先。 これは移動するボタンに使用されます。 デフォルトは、context.getURLEncoder().getDefaultURL()です。
    string
    formName イベントの送信先のフォーム。
    string
    formSubmitted フォーム送信を使用するかどうかの指定。
    boolean
    title 選択リストの下のタイトル。
    string
    unvalidated この要素をformSubmittedモードで使用した場合、デフォルト動作では、サーバーへの送信前にすべてのフォーム入力が検証されます。 この属性により、この検証を無効にできます。
    boolean

    子要素

    説明 必須 組込み可能な数
    <contents>
    Beanの索引付けされた子。
    いいえ 1