<!--
 * Copyright (c) 2001 Oracle
 *
 *      NAME
 *       patchDepotRegister.uix
 *
 *      NOTES
 *       add patch criteria to the Depot
 *
 *
 *  @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>
        <html:title>
          <text uix:text="pageTitle@getPageTitle"/>
        </html:title>
      </contents>
      <provider>
        <data name="getPageTitle">
          <method class="oracle.sysman.eml.ecm.patch.PatchRegisterData" method="getPageTitle"/>
        </data>
      </provider>
    </dataScope>
  </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="registerForm">
              <contents>
   
                <stackLayout>
                  <contents>

                  <header uix:text="pageTitle@getPageTitle"/>

                  <switcher marlin:childName="register@regPatchData">
                  <case name="register">

                  <html:p>
                  <html:font face="Arial,Helvetica,Geneva,sans-serif" size="2" color="#000000">
                   <rawText uix:text="registerText@regPatchData" />
                  </html:font>
                  </html:p>

         <!--
                    <styledText styleClass="OraInstructionText">
                    <contents>
                        This patch meets the criteria specified in the <html:a href="/console/ecm/patch/patchAdvisoryRule$ruleName=zzqq$modify=true">Patch Advisory Rule: zzqq</html:a>.  It is recommended that
                        you press View Readme and review the content, to ensure there are no manual steps required to apply this patch, before you
                        add the patch to the patch depot.
                        Patches in the <html:a href="/console/ecm/patch/patchDepotTable">patch depot</html:a> can be applied to targets using the Apply
                        Patch function located under the Functions tab (above).
                    </contents>
                    </styledText>
        -->
                  </case>
                  </switcher>


                    <spacer height="20"/>

                    <rowLayout>
                    <contents>
                    <spacer width="30"/>

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

                           <styledText styleClass="OraDataPrompt" uix:text="PDR_NAME@ResourceBundle"/>
                            <rowLayout>
                            <contents>
                                <spacer width="8"/>
                                <styledText styleClass="OraDataText" uix:text="patch@regPatchData"/>
                            </contents>
                            </rowLayout>

                            <styledText styleClass="OraDataPrompt" uix:text="PDR_DATE@ResourceBundle"/>
                            <rowLayout>
                            <contents>
                                <spacer width="8"/>
                                <styledText styleClass="OraDataText" uix:text="dt@regPatchData"/>
                            </contents>
                            </rowLayout>

                            <styledText styleClass="OraDataPrompt" uix:text="PDR_IMPLEMENTATION@ResourceBundle"/>
                            <rowLayout>
                            <contents>
                                <spacer width="8"/>
                                <styledText styleClass="OraDataText" uix:text="auto@regPatchData"/>
                            </contents>
                            </rowLayout>

                           <styledText styleClass="OraDataPrompt" uix:text="PDR_ABSTRACT@ResourceBundle"/>
                            <rowLayout>
                            <contents>
                                <spacer width="8"/>
                                <styledText styleClass="OraDataText" uix:text="abs@regPatchData"/>
                            </contents>
                            </rowLayout>

                           <styledText styleClass="OraDataPrompt" uix:text="PDR_BUGNUMBERS@ResourceBundle"/>
                            <rowLayout>
                            <contents>
                                <spacer width="8"/>
                                <styledText styleClass="OraDataText" uix:text="bug@regPatchData"/>
                            </contents>
                            </rowLayout>

                            <styledText styleClass="OraDataPrompt" uix:text="PDR_TYPE@ResourceBundle"/>
                            <rowLayout>
                            <contents>
                                <spacer width="8"/>
                                <styledText styleClass="OraDataText" uix:text="type@regPatchData"/>
                            </contents>
                            </rowLayout>

                            <styledText styleClass="OraDataPrompt" uix:text="PDR_PRODUCTID@ResourceBundle"/>
                            <rowLayout>
                            <contents>
                                <spacer width="8"/>
                                <styledText styleClass="OraDataText" uix:text="prod@regPatchData"/>
                            </contents>
                            </rowLayout>

                            <styledText styleClass="OraDataPrompt" uix:text="PDR_RELEASE@ResourceBundle"/>
                            <rowLayout>
                            <contents>
                                <spacer width="8"/>
                                <styledText styleClass="OraDataText" uix:text="rel@regPatchData"/>
                            </contents>
                            </rowLayout>


                            <styledText styleClass="OraDataPrompt" uix:text="PDR_PLATFORM@ResourceBundle"/>
                            <rowLayout>
                            <contents>
                                <spacer width="8"/>
                                <styledText styleClass="OraDataText" uix:text="plat@regPatchData"/>
                            </contents>
                            </rowLayout>

                           <styledText styleClass="OraDataPrompt" uix:text="PDR_LANGUAGE@ResourceBundle"/>
                            <rowLayout>
                            <contents>
                                <spacer width="8"/>
                                <styledText styleClass="OraDataText" uix:text="lang@regPatchData"/>
                            </contents>
                            </rowLayout>



                            <formValue uix:name="PDR_README@ResourceBundle"
                                       uix:value="readme@regPatchData" />

                        </contents>
                        </labeledFieldLayout>

                    </contents>
                    </rowLayout>

                  </contents>
                </stackLayout>

             <spacer height="10"/>
<!--
              <rowLayout hAlign="right" vAlign="bottom">
              <contents>
 -->
                <switcher marlin:childName="register@regPatchData">

                <case name="register">
              <rowLayout hAlign="right" vAlign="bottom">
              <contents>
                    <submitButton name="event" value="ViewARUReadme" uix:text="BTN_VIEWREADME@ResourceBundle" />
                    <spacer width="10"/>
                    <submitButton name="event" value="DepotAdd" uix:text="BTN_ADDTODEPOT@ResourceBundle" />
              </contents>
              </rowLayout>
                </case>

                <case name="viewDetails">
              <rowLayout hAlign="right" vAlign="bottom">
              <contents>
                    <submitButton name="event" value="ViewDepotReadme" uix:text="BTN_VIEWREADME@ResourceBundle" />
              </contents>
              </rowLayout>
                </case>

                </switcher>
<!--
              </contents>
              </rowLayout>
-->
              <spacer height="5"/>


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

      <provider>

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

      <data xmlns="http://bali.us.oracle.com/cabo/marlin" name="regPatchData">
           <method class="oracle.sysman.eml.ecm.patch.PatchRegisterData" method="populateDepotEntry"/>
      </data>

      <data name="getPageTitle">
          <method class="oracle.sysman.eml.ecm.patch.PatchRegisterData" method="getPageTitle"/>
      </data>

      </provider>
    </dataScope>
  </baja:content>

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

    <event name="DepotAdd">
       <method class="oracle.sysman.eml.ecm.patch.PatchRegisterHandler"
        method="submitJob"/>
     </event>

    <event name="ViewARUReadme">
       <method class="oracle.sysman.eml.ecm.patch.PatchRegisterHandler"
        method="viewARUReadme"/>
     </event>

    <event name="ViewDepotReadme">
       <method class="oracle.sysman.eml.ecm.patch.PatchRegisterHandler"
        method="viewDepotReadme"/>
     </event>



  </handlers>

</page>
