<!--
 * Copyright (c) 2001, 2005, Oracle. All rights reserved.  
 *
 *      NAME
 *       ecmConfirmJobMsg.uix
 *
 *      NOTES
 *       Confirmation for submit job. (GENERIC) Displays button OK to return to caller and 
 *       Show Jobs to display jobs page with submitted job selected;
 *       params to pass include :
 *          "jobName"
 *          "jobId"
 *          "jobType"
 *          "calledFrom"
 *
 * MODIFIED    (MM/DD/YY)  VERSION
 *    mningomb  07/19/05 - Replace confirmation header to resolve script 
 *                         injection problem. Bug - 4490608 
 *    mnosseir  10/15/04 - Added root.sh reminder message for CloneHome jobs 
 *    kchiasso  02/04/03 - remove ^M
 *    kchiasso  02/03/03 - kchiasso_new_clonehome
 *
 *  @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:html="http://www.w3.org/TR/REC-html40">
  <baja:head xmlns="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.ConfirmMessageHandler" method="getPageTitle"/>
        </data>
      </provider>
    </dataScope>
   </baja:head>
  <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin" xmlns:marlin="http://bali.us.oracle.com/cabo/marlin">

  <body>
  <contents>

   <dataScope>
      <contents>

        <form name="ecmConfirmJobMsg">
        <contents>
            <formValue name="jobType" uix:value="jobType@confJobSubmit"/>
            <formValue name="jobName" uix:value="jobName@confJobSubmit"/>

        <pageLayout>

           <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>
          <marlin:location>
            <include baja:node="/breadCrumbs" />
          </marlin:location>

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

          <contentFooter>
              <pageButtonBar>
              <contents>
                <submitButton name="event" value="cancel" uix:text="BTN_RETURN@ResourceBundle"/>
                <submitButton name="event" value="filterView" uix:text="viewJobBtn@confJobSubmit"/>
              </contents>
              </pageButtonBar>
          </contentFooter>

        <contents>

            <stackLayout>
            <contents>
              <spacer height="5"/>


              <header uix:icon="confirmIcon@confJobSubmit" uix:text="HDR_CONFIRMATION@ResourceBundle">
              <contents>

               <flowLayout>
               <contents>
                 <styledText styleClass="OraInstructionTextStrong" 
                   uix:text="jobName@confJobSubmit"/>
                 <styledText styleClass="OraInstructionText" 
                   uix:text="submitText@confJobSubmit"/>
               </contents>
               </flowLayout>

               <rowLayout>
               <contents>
                    <spacer height="20"/>
               </contents>
               </rowLayout>

<!-- if there were warnings in the results table -
    tell the user that the job may not complete successfully -->


               <rowLayout>
               <contents>
                    <styledText styleClass="OraInstructionText"
                        uix:text = "warning@confJobSubmit"/>

               </contents>
               </rowLayout>

               <!-- root.sh reminder message for CloneHome jobs only -->
               <rowLayout>
               <contents>
                    <styledText styleClass="OraInstructionText"
                        uix:text = "rootshMsg@confJobSubmit" 
                        uix:rendered = "cloneHomeJob@confJobSubmit"/>

               </contents>
               </rowLayout>

               <rowLayout>
               <contents>
                    <spacer height="20" 
                        uix:rendered = "cloneHomeJob@confJobSubmit"/>
               </contents>
               </rowLayout>

               <rowLayout>
               <contents>
                    <styledText styleClass="OraInstructionText"
                        uix:text = "message@confJobSubmit"/>

               </contents>
               </rowLayout>

               <rowLayout>
               <contents>
                    <spacer height="20"/>
               </contents>
               </rowLayout>

              </contents>
              </header>

             </contents>
            </stackLayout>

        </contents>
        </pageLayout>

     </contents>
     </form>

   </contents>

      <provider>

        <data xmlns="http://bali.us.oracle.com/cabo/marlin" name="confJobSubmit">
           <method class="oracle.sysman.eml.ecm.ConfirmMessageHandler" method="populateConfirmMessage"/>
        </data>

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

    </dataScope>

   </contents>
   </body>

  </baja:content>

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

     <event name="filterView">
       <method class="oracle.sysman.eml.ecm.ConfirmMessageHandler"
        method="gotoJobsTable"/>
     </event>
  </handlers>


</page>
