<!--
 * Copyright (c) 2001 Oracle
 *
 *      NAME
 *       adminShuttle.uix
 *
 *      NOTES
 *       (generic) shuttle list for selecting Admins in the NotifyJob UI
 *
 *  @author  kChiasson
 *
-->

 <dataScope xmlns="http://bali.us.oracle.com/cabo/marlin"
           xmlns:uix="http://bali.us.oracle.com/cabo/marlin">

  <provider>
    <data name="adminList">
      <method class="oracle.sysman.eml.ecm.patch.ShuttleData"
       method="populateAdminShuttle"/>
    </data>

  </provider>

  <contents>

    <switcher uix:childName="status@adminList">
      <case name="failure">
        <messageBox automatic="false"
                    uix:message="ERR_NOADMINS@ResourceBundle"
                    messageType="error"/>
      </case>
      <case name="success">
       <shuttle name="adminShuttle"
                 uix:leadingHeader="LH_AVAILADMINS@ResourceBundle"
                 reorderable="false"
                 uix:trailingHeader="LH_SELADMINS@ResourceBundle">

          <leading>
            <list multiple="true">
              <contents uix:childData="choiceAdmins@adminList">
                <option uix:text="adminName"/>
              </contents>
            </list>
           </leading>
          <trailing>
            <list>
              <contents uix:childData="selectedAdmins@adminList">
                <option uix:text="adminName"/>
              </contents>
            </list>
          </trailing>
        </shuttle>
      </case>
    </switcher>
  </contents>
</dataScope>

