<!--
 * Copyright (c) 2001, 2007, Oracle. All rights reserved.  
 *
 *      NAME
 *       agentShuttle.uix
 *
 *      NOTES
 *       (generic) shuttle list for selecting Targets in the Patch Wizard
 *
 * MODIFIED (MM/DD/YY)  VERSION
 *  jinslee  07/10/07 - 
 *  somukher 07/01/05 - Bug - 4442857 
 *  mningomb 09/09/04 - 
 *  kchiasso 10/29/03 - bugfix 3211721 
 *  kchiasso 07/10/03 - bugfix 2966548
 *  kchiasso 07/24/02 - fix 2482547 - add meta noExpire
 *  kchiasso 08/01/01 - add readme;move strings to rb
 *    rpatti 07/19/01 -  fix the shuttle
 *    mgoodri06/06/01 - Updates for ECM Patching demo
 *
 *
 *  @author  kChiasson
 *
-->

<dataScope xmlns="http://bali.us.oracle.com/cabo/marlin"
           xmlns:uix="http://bali.us.oracle.com/cabo/marlin"
           xmlns:html="http://www.w3.org/TR/REC-html40">

<!--
  <provider>
    <data name="targetList">
      <method class="oracle.sysman.eml.ecm.patch.ShuttleData"
       method="populateAgentShuttle"/>
    </data>

  </provider>
-->

  <contents>

    <!-- Put up either an error box or the target choice list
            depending on whether we got the data successfully -->

    <switcher uix:childName="status@targetList">
      <case name="failure">
        <messageBox automatic="false"

                    uix:message="ERR_NOTARGET@ResourceBundle"
                    messageType="error"/>
      </case>
      <case name="success">
       <shuttle name="agentShuttle"
                 uix:leadingHeader="LH_AVAILTARGETS@ResourceBundle"
                 reorderable="false"
                 uix:trailingHeader="LH_SELTARGETS@ResourceBundle"
                 shortDesc="Select from list of available targets, the targets to be patched.">

          <leading>
            <list multiple="true" uix:shortDesc="SD_CHOICE_TARGETS@ResourceBundle">
              <contents uix:childData="choiceTargets@targetList">
                <option uix:text="targetName"/>
              </contents>
            </list>
           </leading>
          <trailing>
            <list uix:shortDesc="SD_SELECTED_TARGETS@ResourceBundle">
              <contents uix:childData="selectedTargets@targetList">
                <option uix:text="targetName"/>
              </contents>
            </list>
          </trailing>
        </shuttle>
      </case>
    </switcher>
  </contents>
</dataScope>


