<?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:data="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">
  <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>
           <boundAttribute name="text">
            <concat>
             <dataObject select="EM_TITLE" source="resourceBundle"/>
             <dataObject select="WEBSITE_PERFORMANCE_TITLE" source="resourceBundle"/>
            </concat>
           </boundAttribute>
          </text> 
        </html:title>
       </contents>
       <provider>
         <data name="resourceBundle">
           <bundle class="oracle.sysman.eml.mntr.user.UserMntrOwnerMsg"/>
         </data>
        <data name="appHeader">
          <method class="oracle.sysman.eml.mntr.user.OwnerAnnotationDataObject" method="getAppHeader"/>
        </data>
       </provider>
    </dataScope>
  </baja:head>
  <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin">
    <dataScope>
      <provider>
        <data name="rowsTable">
            <method class="oracle.sysman.eml.mntr.user.OwnerAnnotationDataObject" method="getRows"/>
        </data>
        <data name="appHeader">
          <method class="oracle.sysman.eml.mntr.user.OwnerAnnotationDataObject" method="getAppHeader"/>
        </data>
         <data name="ResourceBundle">
           <bundle class="oracle.sysman.eml.mntr.user.UserMntrOwnerMsg"/>
         </data>
      </provider>
      <contents>
        <link name="#TOP"/>
        <pageLayout>
           <mediumAdvertisement>
            <dataScope xmlns="http://bali.us.oracle.com/cabo/marlin"
                      xmlns:data="http://bali.us.oracle.com/cabo/marlin">
             <contents>
                <image data:source="image@brandingData"
                       data:shortDesc="text@brandingData"
                       data:destination="destination@brandingData"/>
             </contents>
             <provider>
              <data name="brandingData">
                <method class="oracle.sysman.emSDK.eml.nav.NavData" 
                        method="getProductBranding"/>
              </data>
             </provider>
            </dataScope>
           </mediumAdvertisement>

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

          <marlin:contents>
            <stackLayout>
              <contents>
                <header data:text="ANNOTATION_TITLE@ResourceBundle">
                  <contents>
                    <stackLayout>
                      <contents>
                        <form name="perfByForm">
                          <contents>
                            <switcher data:childName="iResultRows@rowsTable">
                              <case name="1">
                                <flowLayout>
                                  <contents>
                                    <link data:name="anchor@rowsTable"/>
                                    <table width="95%"
                                      data:tableData="row@rowsTable"
                                      data:columnHeaderData="column@rowsTable"
                                      data:value="value@rowsTable"
                                      data:minValue="minValue@rowsTable"
                                      data:blockSize="blockSize@rowsTable"
                                      data:maxValue="maxValue@rowsTable" 
                                      data:name="name@rowsTable"
                                      data:destination="tableDestination@rowsTable"
                                      data:alternateText="alternateText@rowsTable"
                                      data:columnFormats="columnFormats@rowsTable"
                                    >

                                    <columnHeaderStamp>
                                      <data:boundText select="columnName"/>
                                    </columnHeaderStamp>
                                    <contents>
                                      <styledText  data:text="displayNameKey"
                                          data:destination="urlHomepageDestKey" />
                                      <styledText data:text="urlNameKey" 
                                          data:destination="urlPerfDestKey"/>
                                      <styledText data:text="urlTotalTimeKey" />
                                      <styledText data:text="urlAvgKey" />
                                      <styledText data:text="urlHitsKey" />
                                      <styledText data:text="employeeNameKey" />
                                      <styledText data:text="managerNameKey" />
                                      <styledText data:text="organizationNameKey" />
                                    </contents>
                                    </table>
              
                                    <spacer height="10"/>
                                    <stackLayout>
                                      <contents>
                                        <rowLayout>
                                          <contents>
                                            <styledText  data:text="annotationDateKey@rowsTable" />
                                          </contents>
                                        </rowLayout>
                                        <spacer height="20"/>
                                        <rowLayout>
                                          <contents>
                                            <styledText  data:text="annotationKey@rowsTable" />
                                          </contents>
                                        </rowLayout>
                                      </contents>
                                    </stackLayout>
                                  </contents>
                                </flowLayout>
                              </case>
                              <case name="0">
                                <flowLayout>
                                  <contents>
                                    <link data:name="anchor@rowsTable"/>
                                    <table width="95%"
                                      data:tableData="row@rowsTable"
                                      data:columnHeaderData="column@rowsTable"
                                      data:value="value@rowsTable"
                                      data:minValue="minValue@rowsTable"
                                      data:blockSize="blockSize@rowsTable"
                                      data:maxValue="maxValue@rowsTable" 
                                      data:name="name@rowsTable"
                                      data:destination="tableDestination@rowsTable"
                                      data:alternateText="alternateText@rowsTable"
                                      data:columnFormats="columnFormats@rowsTable"
                                    >

                                    <columnHeaderStamp>
                                      <data:boundText select="columnName"/>
                                    </columnHeaderStamp>
                                    <contents>
                                      <styledText  data:text="displayNameKey"
                                          data:destination="urlHomepageDestKey" />
                                      <styledText data:text="urlNameKey" 
                                          data:destination="urlPerfDestKey"/>
                                      <styledText data:text="urlTotalTimeKey" />
                                      <styledText data:text="urlAvgKey" />
                                      <styledText data:text="urlHitsKey" />
                                      <styledText data:text="employeeNameKey"/>
                                      <styledText data:text="managerNameKey" />
                                      <styledText data:text="organizationNameKey" />
                                      <styledText  data:text="annotationDateKey" 
                                          hAlign="right"/>
                                      <styledText  data:text="annotationKey" 
                                          hAlign="right"/>
                                    </contents>
                                    </table>
                                  </contents>
                                </flowLayout>
                              </case>
                            </switcher>
                          </contents>
                        </form>
                      </contents>
                    </stackLayout>
                  </contents>
                </header>
              </contents>
            </stackLayout>
          </marlin:contents>
        </pageLayout>
      </contents>
    </dataScope>
  </baja:content>
  <handlers>
    <event name="goto">
      <method class="oracle.sysman.eml.mntr.user.OwnerAnnotationDataObject"
              method="doGoTo"/>
    </event>
    <!-- use this handler to enter this page -->
    <event name="doLoad">
      <method class="oracle.sysman.eml.mntr.user.OwnerAnnotationDataObject" 
              method="doLoad"/>
    </event>

  </handlers>
</page>
