<?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="HC_VENDOR_COMPARE_TITLE@HCResourceBundle"/>
        </html:title>
       </contents>

       <provider>
        <data name="HCResourceBundle">
          <bundle class="oracle.sysman.eml.ecm.resources.HCResourceBundle"/>
        </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:pageHeader>
            <include baja:node="/globalHeader" />
          </marlin:pageHeader>
          <marlin:location>
            <include baja:node="/breadCrumbs" />
          </marlin:location>

        <copyright>
          <include baja:node="/copyright" />
        </copyright>
        
        <contents>
          <messageBox automatic="true" />
            <stackLayout>
              <contents>
                <header data:text="HC_VENDOR_COMPARE_SELECTED_PRODUCTS_HEADER@HCResourceBundle">
                  <contents>
                  <form name="compareVendorProductsForm" method="GET">
                    <contents>
                      <stackLayout>
                        <contents>
                          <header data:text="firstHostHeader@uiData">
                            <contents>
                            <table name="firstHostVendorSoftwareProductsListTable"
                              data:tableData="rows@firstHostVendorSoftwareProductsListTable@uiData"
                              data:columnHeaderData="uiTableColumnHeaders@firstHostVendorSoftwareProductsListTable"
                              data:rowHeaderData="rows@firstHostVendorSoftwareProductsListTable@uiData"
                              data:blockSize="size@rows@firstHostVendorSoftwareProductsListTable@uiData"
                              data:maxValue="max@rows@firstHostVendorSoftwareProductsListTable@uiData"
                              data:value="start@rows@firstHostVendorSoftwareProductsListTable@uiData"
                              minValue="1"
                              width="80%"
                              data:alternateText = "NO_ITEMS_FOUND@TrackResourceBundle"
                              formSubmitted="true"
                              showAll="yes" >
    
                              <tableFormat tableBanding="rowBanding"/>

                              <columnHeaderStamp>
                                <sortableHeader data:text="text" data:sortable="sortable"/>
                              </columnHeaderStamp>
                              <tableSelection>
                                <singleSelection uix:text="select"
                                  selectedIndex="0">
                                </singleSelection>
                              </tableSelection>

                              <contents>
                                <styledText data:text="product"/>
                                <styledText data:text="vendorName"/>
                                <styledText data:text="installedLocation"/>
                                <styledText data:text="installationTime"/>
                              </contents>
                            </table>
                            </contents>
                        </header>

                        <header data:text="secondHostHeader@uiData">
                          <contents>
                            <table name="secondHostVendorSoftwareProductsListTable"
                              data:tableData="rows@secondHostVendorSoftwareProductsListTable@uiData"
                              data:columnHeaderData="uiTableColumnHeaders@secondHostVendorSoftwareProductsListTable"
                              data:rowHeaderData="rows@secondHostVendorSoftwareProductsListTable@uiData"
                              data:blockSize="size@rows@secondHostVendorSoftwareProductsListTable@uiData"
                              data:maxValue="max@rows@secondHostVendorSoftwareProductsListTable@uiData"
                              data:value="start@rows@secondHostVendorSoftwareProductsListTable@uiData"
                              minValue="1"
                              width="80%"
                              data:alternateText = "NO_ITEMS_FOUND@TrackResourceBundle"
                              formSubmitted="true"
                              showAll="yes" >
    
                              <tableFormat tableBanding="rowBanding"/>

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

                              <contents>
                                <styledText data:text="product"/>
                                <styledText data:text="vendorName"/>
                                <styledText data:text="installedLocation"/>
                                <styledText data:text="installationTime"/>
                              </contents>
                              <tableSelection>
                                <singleSelection uix:text="select"
                                  selectedIndex="0">
                                </singleSelection>
                              </tableSelection>
                            </table>
                          </contents>
                        </header>
                      </contents>
                    </stackLayout>

                    <spacer height="10"/>
                    <rowLayout hAlign="right">
                      <contents>
                      <submitButton
                         formName="compareVendorProductsForm"
                         data:text="COMPARE_BTN@HCResourceBundle"
                         name="event"
                         value="goToPageForComparingSelectedVendorSoftwareProducts"/>
                      </contents>                         
                    </rowLayout>

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

    </pageLayout>
  </contents>

  <provider>
        <data name="TrackResourceBundle">
          <bundle class="oracle.sysman.eml.ecm.resources.TrackResourceBundle"/>
        </data>

        <data name="HCResourceBundle">
          <bundle class="oracle.sysman.eml.ecm.resources.HCResourceBundle"/>
        </data>

        <data name="uiData">
          <method class="oracle.sysman.eml.ecm.ui.EcmUIUtil"
            method="getUIDataObject"/>
        </data>

        <data name="firstHostVendorSoftwareProductsListTable">
          <method class="oracle.sysman.eml.ecm.ui.EcmUIUtil"
            method="getUITableColumnHeadersData"/>
        </data>

        <data name="secondHostVendorSoftwareProductsListTable">
          <method class="oracle.sysman.eml.ecm.ui.EcmUIUtil"
            method="getUITableColumnHeadersData"/>
        </data>
      </provider>
    </dataScope>
  </baja:content>

  <handlers>
     <event name="goToPageForComparingSelectedVendorSoftwareProducts">
       <method class="oracle.sysman.eml.ecm.track.hc.compare.VendorSoftwareComparisonDetailsEventHandler"
        method="goToPageForComparingSelectedVendorSoftwareProducts"/>
     </event>

    <event name="null">
      <method class="oracle.sysman.eml.ecm.OnlineHelp"
              method="loadHelpTopic"/>
    </event>     
    <event name="goto" source="firstHostVendorSoftwareProductsListTable">
      <method class="oracle.sysman.eml.ecm.ui.EcmUIUtil"
         method="handleUITableBlockingEvent"/>
    </event>

    <event name="goto" source="secondVendorProductsTable">
      <method class="oracle.sysman.eml.ecm.ui.EcmUIUtil"
         method="handleUITableBlockingEvent"/>
    </event>
    <event name="sort" source="secondVendorProductsTable">
      <method class="oracle.sysman.eml.ecm.ui.EcmUIUtil"
        method="handleUITableSortingEvent"/>
    </event>

    <event name="sort" source="firstHostVendorSoftwareProductsListTable">
      <method class="oracle.sysman.eml.ecm.ui.EcmUIUtil"
        method="handleUITableSortingEvent"/>
    </event>

  </handlers>
  
</page>
