<!--
 * Copyright (c) 2001, 2006, Oracle. All rights reserved.  
 *
 *      NAME
 *       cloneWiz_SourceSettings.uix
 *
 *      NOTES
 *       Set information about home to clone
 *

 * MODIFIED   (MM/DD/YY)  VERSION
 *    amani    07/31/06 - Backport amani_bug-4870299 from main
 *    amani    05/11/06 - For changing max length values.
 *    audupi   07/07/05 - 4467739 - Addition of maximum length for text-input
 *    kchiasso 08/21/03 - kchiasso_clonefromfile 
 *  @author  kChiasson
 *
-->

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

 <baja:head  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">

   <dataScope>
      <contents>

      
      <head xmlns="http://xmlns.oracle.com/uix/ui"
         uix:title="pageTitle@getPageTitle"/>
      </contents>
      <provider>
        <data name="getPageTitle">
          <method class="oracle.sysman.eml.ecm.cloneHome.CloneHomeData" method="getPageTitle"/>
        </data>
      </provider>
    </dataScope>
 </baja:head>

    <!-- special handler to load help topic -->
<!--
   <handlers>
    <event name="null">
      <method class="oracle.sysman.eml.ecm.OnlineHelp"
              method="loadCloneHelpTopic"/>
    </event>
   </handlers>
-->

  <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin">

   <body>
   <contents>


   <dataScope>
      <contents>

<script>
<contents>

</contents>
</script>

        <form name="cloneWiz_WorkingDir" method="POST">
        <contents>
            <formValue name="FromURLHidden" uix:value="calledFrom@getInfo"/>
 
        <pageLayout xmlns="http://bali.us.oracle.com/cabo/marlin"
            uix:title="pageTitle@getHeaderTitle">

          <mediumAdvertisement>
            <include baja:node="../../oemBanner" />
          </mediumAdvertisement>

          <globalButtons>
            <include baja:node="../../globalButtonBar" />
          </globalButtons>
          <marlin:tabs>
            <include baja:node="../../globalTabs" />
          </marlin:tabs>
          <marlin:pageHeader>
            <include baja:node="../../globalHeader" />
          </marlin:pageHeader>
        
          <pageButtons>
            <include baja:node="cloneWiz_Footer"/>
          </pageButtons>

          <pageStatus>
          </pageStatus>

          <location>
            <include baja:node="cloneWiz_Train"/>
          </location>

          <copyright>
            <include baja:node="../../copyright"/>
          </copyright>

        <contents>

           <messageBox automatic="true" />

           <switcher uix:childName="status@srcSettings" childName="success">
            <case name="failure">
                <messageBox automatic="false"
                    uix:text="errHdr@srcSettings"
                    uix:message="errMsg@srcSettings"
                    messageType="error" />
            </case>
            <case name="success">


            <stackLayout>
            <contents>
                <header uix:text="HDR_WORKINGDIR@ResourceBundle">
                <contents>
                <styledText styleClass="OraInstructionText" uix:text="INSTR_PREVWORKINGDIR@ResourceBundle" /> 
                <html:br></html:br>
                <html:br></html:br>
                
                    <labeledFieldLayout width="0" fieldWidth="0" labelWidth="180" columns="0">
                      <contents>

                        <messageLovField 
                          name="host"
                          uix:text="hostLovName@srcSettings"
                          columns="35"
                          uix:prompt="HDR_HOST@ResourceBundle"
                          required = "yes"
                          uix:shortDesc="SD_HOSTSEL@ResourceBundle"
                          maximumLength="64"/>

                        <messageTextInput
                          uix:prompt="LBL_WORKINGDIR@ResourceBundle"
                          name="workingDir"
                          uix:text="workingDir@srcSettings"
                          columns="35"
                          required="yes"
                          id="wDir"
                          maximumLength="255">

                        </messageTextInput>
                       </contents>
                   </labeledFieldLayout>

                </contents>
                </header>
                
                <header uix:text="HDR_HOSTCRED@ResourceBundle">
                <contents>
                <styledText styleClass="OraInstructionText" uix:text="INSTR_UNAMEPW@ResourceBundle" /> 
                <html:br></html:br>
                <html:br></html:br>

                   <labeledFieldLayout width="0" fieldWidth="0" labelWidth="180" columns="0">
                    <contents>

                      <messageTextInput
                        uix:prompt="LBL_UNAME@ResourceBundle"
                        name="username"
                        uix:text="username@srcSettings"
                        columns="20"
                        required="yes"
                        id="uname"
                        maximumLength="32">
                      </messageTextInput>

                      <messageTextInput
                        uix:prompt="LBL_PW@ResourceBundle"
                        name="password"
                        uix:text="password@srcSettings"
                        columns="20"
                        secret="true"
                        required="yes"
                        id="pw"
                        maximumLength="32">
                      </messageTextInput>
                     </contents>
                     </labeledFieldLayout>

                </contents>
                </header>

       
            </contents>
            </stackLayout>

            </case>
            </switcher>

        </contents>
        </pageLayout>

     </contents>
     </form>


     </contents>

      <provider>

      <data name="ResourceBundle">
       <bundle class = "oracle.sysman.eml.ecm.cloneHome.util.CloneHomeResourceBundle"/>
      </data>

      <data name="navStep">
        <method class="oracle.sysman.eml.ecm.cloneHome.CloneHomeData"
         method="getWizardStep"/>
      </data>

      <data name="getPageTitle">
          <method class="oracle.sysman.eml.ecm.cloneHome.CloneHomeData" 
            method="getPageTitle"/>
      </data>

      <data name="getHeaderTitle">
          <method class="oracle.sysman.eml.ecm.cloneHome.CloneHomeData" 
            method="getHeaderTitle"/>
      </data>

     <data name="getInfo">
        <method class="oracle.sysman.eml.ecm.cloneHome.CloneHomeData"
        method="returnCaller"/>
     </data>


<!--
      <data name="srcSettings">
          <method class="oracle.sysman.eml.ecm.cloneHome.CloneHomeData" 
            method="populateSrcSettings"/>
      </data>
-->
      </provider>

    </dataScope>

     </contents>
     </body>


  </baja:content>

   <handlers>

      <!-- This handles the next/prev buttons in the results table -->
 
      <event name="goto" source="homeNav">
        <method class="oracle.sysman.eml.ecm.cloneHome.CloneHomeHandler"
         method="stepNext"/>
      </event>

     <event name="cancel">
       <method class="oracle.sysman.eml.ecm.cloneHome.CloneHomeHandler"
        method="returnToCaller"/>
     </event>

  </handlers>

</page>
