<?xml version = '1.0' encoding = 'UTF-8'?>
<page xmlns="http://bali.us.oracle.com/cabo/baja"
      xmlns:baja="http://bali.us.oracle.com/cabo/baja"
      xmlns:marlin="http://bali.us.oracle.com/cabo/marlin" 
      xmlns:html="http://www.w3.org/TR/REC-html40"
      xmlns:uix="http://bali.us.oracle.com/cabo/marlin"
      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 data:text="title_str@osPatchesInventoryPageTitle"/>
        </html:title>
      </contents>

      <provider>
        <data name="osPatchesInventoryPageTitle">
          <method class="oracle.sysman.eml.ecm.FunctionsData"
                  method="getOSPatchesInventoryPageHdrAndTitle"/>
        </data>
      </provider>
    </dataScope>
  </baja:head>

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

            <pageLayout xmlns="http://bali.us.oracle.com/cabo/marlin">
              <mediumAdvertisement>
                <include baja:node="../../oemBanner" />
              </mediumAdvertisement>
              <marlin:globalButtons>
                <include baja:node="../../globalButtonBar" />
              </marlin:globalButtons>
              <marlin:tabs>
                <include baja:node="../../globalTabs" />
              </marlin:tabs>

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

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

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

        <contents>
        <form name="osPatchesInventoryForm" method="GET" usesUpload="false">
          <contents>
            <messageBox automatic="true" />

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

              <tableLayout hAlign="left" width="100%">
                <contents>
                  <table data:blockSize="size@osPatchesInfo"
                     minValue="1"
                     data:maxValue="max@osPatchesInfo"
                     data:value="start@osPatchesInfo"
                     data:tableData="swrow@osPatchesInfo"
                     data:columnFormats="colformat@targetcolumnFormatData"
                     width="80%"
                     data:columnHeaderData="column@osPatchesInfo"
                     data:alternateText="NO_DATA_FOUND@ResourceBundle"
                     formSubmitted="true">

                <tableFormat tableBanding="rowBanding"/>

                <columnHeaderStamp>
                  <sortableHeader data:text="text" data:sortable="sortable"/>
                </columnHeaderStamp>

                <contents>
                   <styledText data:text="osPatchName"/>

                   <rowLayout hAlign="right">
                     <contents>
                      <switcher data:childName="showInstDestLink@osPatchesInfo">
                        <case name="true">
                         <styledText styleClass="OraInstructionText" data:text="osPatchInstCount"
                               data:destination="osPatchesInstDest"/>
                        </case>
                        <case name="default">
                         <styledText styleClass="OraInstructionText"
                                     data:text="osPatchInstCount"/>
                        </case>
                      </switcher>
                     </contents>
                   </rowLayout>


                   <rowLayout hAlign="right">
                     <contents>
                      <switcher data:childName="showNotInstDestLink@osPatchesInfo">
                        <case name="true">
                           <styledText styleClass="OraInstructionText" data:text="osPatchNotInstCount"
                               data:destination="osPatchesNotInstDest"/>
                        </case>
                        <case name="default">
                          <styledText styleClass="OraInstructionText"
                                      data:text="osPatchNotInstCount"/>
                        </case>
                      </switcher>
                     </contents>
                   </rowLayout>

                </contents>
                </table>
              </contents>
              </tableLayout>
              </contents>
              </form>
              </contents>
            </pageLayout>
           </contents>

           <provider>
            <data name="targetcolumnFormatData">
              <inline>
                <colformat/>
                <!--
                <colformat columnDataFormat="numberFormat" width="25%"/>
                <colformat columnDataFormat="numberFormat" width="20%"/>
                -->
                <colformat/>
              </inline>
            </data>


            <data name="ResourceBundle">
              <bundle class = "oracle.sysman.eml.ecm.resources.TrackResourceBundle"/>
            </data>
           
            <data name="osPatchesInfo">
              <method class="oracle.sysman.eml.ecm.FunctionsData"
                method="getOSPatchesInfo"/>
            </data>
          </provider>

     </dataScope>
   </baja:content>

   <handlers>
    <event name="goto">
       <method class="oracle.sysman.eml.ecm.track.SnapshotViewController"
              method="doGoto"/>
    </event>
    <event name="sort">
      <method class="oracle.sysman.eml.ecm.FunctionsData"
              method="doInvSort"/>
    </event>

    <event name="null">
      <method class="oracle.sysman.eml.ecm.OnlineHelp"
              method="loadHelpTopic"/>
    </event>
    
  </handlers>
</page>
