<!--
 * Copyright (c) 2001, 2004, Oracle. All rights reserved.  
 *
 *      NAME
 *       ecmErrorPage.uix
 *
 *      NOTES
 *       (generic) Error Page displaying an error message and OK button.
 *       Caller must supply message, and where to go after OK.
 *
 * MODIFIED (MM/DD/YY)  VERSION
 *  yma      12/28/04 - bugfix 4007596
 *  kchiasso 04/23/02 - bugfix 2297034;2150967
 *  kchiasso 03/22/02 - dont show historyBack
 *  kchiasso 03/05/02 - jobs table
 *  kchiasso 02/22/02 - lovFilter
 *  kchiasso 02/19/02 - bugfxs
 *  kchiasso 02/08/02 - hostName;cleanup
 *  kchiasso 01/25/02 - credentials
 *  kchiasso 09/14/01 - manual depot add
 *    mgoodri06/06/01 - Updates for ECM Patching demo
 *
 *
 *  @author  kChiasson
 *
-->
<page xmlns="http://bali.us.oracle.com/cabo/baja"
      xmlns:baja="http://bali.us.oracle.com/cabo/baja">

  <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="Oracle Enterprise Manager"/>
        </html:title>
       </contents>
       <provider>
          <data name="ResourceBundle">
            <bundle class="oracle.sysman.eml.ecm.util.EcmResourceBundle"/>
          </data>
       </provider>
    </dataScope>
  </baja:head>

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

  <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>

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

          <marlin:pageHeader>
            <include baja:node="../globalHeader" />
          </marlin:pageHeader>
          <copyright>
            <include baja:node="../copyright"/>
          </copyright>
 

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

          <contents>
            <stackLayout>
              <contents>

              <messageBox automatic="false"
                            uix:message="message@getError"
                            uix:messageType="messageType@getError"
                            uix:text="title@getError" >
                <contents uix:childData="errMsg@getError">
                    <link uix:text="label" uix:longDesc="errDesc" />
                </contents>
              </messageBox>

              <spacer height="10"/>
              <rowLayout hAlign="right" vAlign="bottom">
              <contents>

                  <!-- if caller did not specify back, then dont show -->
                  <switcher uix:childName="setBackButton@getError" childName="false">

                  <case name="true">
                    <button uix:text="BTN_BACK@ResourceBundle" uix:destination="backPage@getError"/>
                  </case>

                  </switcher>

                  <flowLayout>
                  <contents>
                    <spacer width="3"/>
                  </contents>
                  </flowLayout>

                  <switcher uix:childName="allowContinue@getError" childName="true">

                  <case name="true">
                    <button uix:text="BTN_OK@ResourceBundle" uix:destination="newPage@getError" />
                  </case>

                  </switcher>

              </contents>
              </rowLayout>

              </contents>
            </stackLayout>

            <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="getError">
           <method class="oracle.sysman.eml.ecm.ErrorData" method="getErrorData"/>
        </data>

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


