<!--
 * Copyright (c) 2001 Oracle
 *
 *      NAME
 *       ecmTestJobType.uix
 *
 *      NOTES
 *
 * MODIFIED (MM/DD/YY)  VERSION
 *  kchiasso 08/16/01 - add viewReadme ; fix btn layout ; 
 *  kchiasso 07/18/01 - add notify criteria
 *    skini  07/13/01 - Fix UIX error
 *    kchiass06/28/01 - myjob support; emd check in wizard; headers for jobstab
 *
 *
 *  @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://bali.us.oracle.com/cabo/marlin"
              xmlns:uix="http://bali.us.oracle.com/cabo/marlin"
              xmlns:html="http://www.w3.org/TR/REC-html40">
    <title>
    <contents>
        Oracle Enterprise Manager
    </contents>
    </title>
  </baja:head>
  <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin"
                xmlns:baja="http://bali.us.oracle.com/cabo/baja"
                xmlns:marlin="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>

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

          <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>Copyright 2001, Oracle Corp.</copyright>


<!-- *************  End Standard Header ************* -->

    <contents>

        <messageBox automatic="true" />
        <form name="ecmTestJobType">
        <contents>
              <stackLayout>
              <contents>

                <header text="Schedule Job">
                <contents>
                    <spacer height="30"/>

                        <rowLayout>
                        <contents>
                        <spacer width="40"/>
                        <labeledFieldLayout width="0" fieldWidth="0" labelWidth="0" columns="1">
                        <contents>

                         <rowLayout>
                         <contents>
                               <styledText styleClass="OraPromptText" text="Job Type"/>
                               <spacer width="20"/>
                               <choice name="jobTypeChoice"
                                uix:selectedValue="seljType@testJobData">
                                <contents uix:childData="jobTypeList@testJobData">
                                        <option uix:text="option" uix:selected="selected"/>
                               </contents>
                               </choice>
                         </contents>
                         </rowLayout>

                        </contents>
                        </labeledFieldLayout>
                        </contents>
                        </rowLayout>

                        <rowLayout>
                        <contents>
                        <spacer width="15"/>
                        <labeledFieldLayout width="0" fieldWidth="0" labelWidth="0" columns="1">
                        <contents>
                            <tableLayout>
                            <contents>
                               <messageTextInput
                                    prompt = "Job Name"
                                    name="jobName"
                                    uix:text="jobName@patchData"
                                    columns="75"
                                    required="yes"
                                    id="Job Name">
                               </messageTextInput>

                               <messageTextInput
                                prompt = "Description"
                                name="jobDesc"
                                uix:text="jobDesc@patchData"
                                columns="75"
                                id="Job Description">
                             </messageTextInput>

                             <spacer height="10"/>

                         </contents>
                         </tableLayout>

                        </contents>
                        </labeledFieldLayout>
                        </contents>
                        </rowLayout>

                        <spacer height="20"/>

                        <header text="Parameters">
                        <contents>
                        <styledText styleClass="OraInstructionText">
                        <contents>

                        Information that you may need to execute your job can be supplied using name-value pairs.
                        These parameters can be parsed by the running job, and will appear in the list of Job Details for
                        the specified job type.

                        </contents>
                        </styledText>

                    <html:br> </html:br>
                    <html:br> </html:br>

                        <rowLayout>
                        <contents>
                        <spacer width="44"/>
                        <labeledFieldLayout width="0" fieldWidth="0" labelWidth="0" columns="1">
                        <contents>

                            <rowLayout>
                            <contents>
                                <styledText styleClass="OraPromptText" text="Name"/>
                                <spacer width="20"/>

                                <textInput name="param1" columns="10" uix:text="param1@testJobData"/>
                                <spacer width="8" />

                                <styledText styleClass="OraPromptText" text="Value"/>
                                <spacer width="20"/>
                                <textInput name="value1" columns="10" uix:text="value1@testJobData"/>

                            </contents>
                            </rowLayout>

                        </contents>
                        </labeledFieldLayout>
                        </contents>
                        </rowLayout>

                        <rowLayout>
                        <contents>
                        <spacer width="44"/>
                        <labeledFieldLayout width="0" fieldWidth="0" labelWidth="0" columns="1">
                        <contents>

                            <rowLayout>
                            <contents>
                                <styledText styleClass="OraPromptText" text="Name"/>
                                <spacer width="20"/>

                                <textInput name="param2" columns="10" uix:text="param2@testJobData"/>
                                <spacer width="8" />

                                <styledText styleClass="OraPromptText" text="Value"/>
                                <spacer width="20"/>
                                <textInput name="value2" columns="10" uix:text="value2@testJobData"/>

                            </contents>
                            </rowLayout>

                        </contents>
                        </labeledFieldLayout>
                        </contents>
                        </rowLayout>


                        </contents>
                        </header>


                        <include baja:node="ecmRecurDate"/>

                </contents>
                </header>
              </contents>
              </stackLayout>

              <spacer height="10"/>
              <rowLayout hAlign="right" vAlign="bottom">
              <contents>
                <submitButton name="event" value="Cancel" text="Cancel"/>
                   <spacer width="10"/>
                <submitButton name="event" value="SubmitJob" text="Submit Job" id="Submit Job" />
              </contents>
              </rowLayout>
              <spacer height="5"/>

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

    </contents>
    </pageLayout>

   </contents>

      <provider>

        <data xmlns="http://bali.us.oracle.com/cabo/marlin" name="testJobData">
           <method class="oracle.sysman.eml.ecm.TestJobData" method="populateTestJobData"/>
        </data>

      </provider>

    </dataScope>

  </baja:content>

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

    <event name="SubmitJob">
       <method class="oracle.sysman.eml.ecm.TestJobHandler"
        method="submitJob"/>
     </event>

  </handlers>


</page>
