<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:oem="http://xmlns.oracle.com/oem/ui/beans"
      xmlns:data="http://bali.us.oracle.com/cabo/marlin">

  <!-- Title bar -->
  <baja:head xmlns="http://bali.us.oracle.com/cabo/marlin"
             xmlns:html="http://www.w3.org/TR/REC-html40">
      <dataScope>
        <contents>
          <html:title> 
            <text data:text="FILER_QTREES_PAGE_TITLE@filerPageTitles"/>
          </html:title> 
        <html:noScript> "JavaScript is not supported by your browser. Oracle requires JavaScript support in order to completely render this page." </html:noScript>
        </contents>
        <provider>
          <data name="filerPageTitles">
            <method class="oracle.sysman.eml.target.filer.FilerCurDetailDataObject"
                    method="getFilerPageTitles"/>
          </data>
        </provider>
      </dataScope>
  </baja:head>

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

      <contents>
        <pageLayout>
          <mediumAdvertisement>
            <include baja:node="../../oemBanner" />
          </mediumAdvertisement>
          <globalButtons>
            <include baja:node="../../globalButtonBar" />
          </globalButtons>
          <tabs>
            <include baja:node="../../globalTabs" />
          </tabs>
          <pageHeader>
            <include baja:node="../../globalHeader" />
          </pageHeader>

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

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

          <contents>
            <header data:text="header@filerInfo">
              <contents>
                <subTabBar orientation="top"
                     data:selectedIndex="selectedTab@folderInfo">
                   <contents>
                    <link data:text="HOME@mntrResourceBundle"
                          data:destination="filerOverviewDest@folderInfo"/>
                    <oem:license>
                    <contents>
                    <link data:text="FILER_PERFORMANCE@filerResourceBundle"  
                          data:destination="filerPerformanceDest@folderInfo"/>
                    </contents>
                    </oem:license>
                    <link data:text="FILER_VOLUMES@filerResourceBundle"  
		                      data:destination="filerVolumeDest@folderInfo"/>
                    <link data:text="FILER_QTREES@filerResourceBundle"  
                          data:destination="filerQtreeDest@folderInfo"/>
                   </contents>
                </subTabBar>
               <tableLayout width="100%">
                 <contents>
                  <rowLayout>
                   <contents>
                    <cellFormat>
                     <contents>
                      <switcher data:childName="showtime@filerInfo">
                       <case name="true">
                        <rowLayout hAlign="right">
                         <contents>
                          <styledText styleClass="OraTipText"
                                      vAlign="middle"
                                      data:text="PAGE_REFRESHED@mntrResourceBundle" />
                          <spacer  width="5"/>
                          <styledText styleClass="OraTipLabel"
                                      vAlign="middle"
                                      data:text="timestamp@filerInfo" />
                           <spacer  width="5"/>
                           <image data:source="refreshIcon@filerInfo"
                                  data:destination="refreshUrl@filerInfo"
                                  data:shortDesc="REFRESH_DATA@commonResourceBundle"/>
                         </contents>
                        </rowLayout>
                       </case>
                      </switcher>
                     </contents>
                    </cellFormat>
                   </contents>
                  </rowLayout>
                 </contents>
                </tableLayout>
               <header data:text="FILER_QTREE_LIST@filerResourceBundle"
                       data:rendered="realtime@filerDetails">
                <contents>
                 <switcher data:childName="node@filerInfo">
                 <case name="okNode">
                 <table data:tableData="row@filerInfo"
                        width="85%"
                        partialRenderMode="self"
                        showAll="yes"
                        id="qtrees"
                        data:value="value@filerInfo"
                        data:blockSize="blockSize@filerInfo"
                        data:minValue="1"
                        data:maxValue="maxValue@filerInfo"
                        data:columnHeaderData="column@filerInfo"
                        data:columnFormats="colformat@columnData"
                        data:alternateText="FILER_NO_QTREES_FOUND@filerResourceBundle"
                        data:summary="FILER_QTREE_TITLE@filerResourceBundle">

                  <tableFormat tableBanding="rowBanding"/>

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

                  <contents>
                    <styledText data:text="qtreeName"/>
                    <image data:source="qtreeStatus"
                           data:shortDesc="statusContextHelp"/>
		                <styledText data:text="qtreeVolume"
                                data:destination="volDestKey"/>
                    <styledText data:text="qtreeTotal"/>
                    <styledText data:text="qtreeUsed"/>
		                <dataScope>
                     <contents>
                      <image data:source="img0Src"
                             data:width="img0Width"
                             data:height="img0Height"
                             data:destination="qtreePctUsedDest"
                             data:shortDesc="FILER_VOLUME_DESC@filerResourceBundle"/>
                      <image data:source="img1Src"
                             data:width="img1Width"
                             data:height="img1Height"
                             data:destination="qtreePctUsedDest"
                             data:shortDesc="FILER_VOLUME_DESC@filerResourceBundle"/>
                      <image data:source="img2Src"
                             data:width="img2Width"
                             data:height="img2Height"
                             data:destination="qtreePctUsedDest"
                             data:shortDesc="FILER_VOLUME_DESC@filerResourceBundle"/>
                       <image data:source="img3Src"
                             data:width="img3Width"
                             data:height="img3Height"
                             data:destination="qtreePctUsedDest"
                             data:shortDesc="FILER_VOLUME_DESC@filerResourceBundle"/> 
                      <spacer width="10"/>
                      <styledText data:text="qtreePctUsed"
                                  data:destination="qtreePctUsedDest"/>
                     </contents>
                    </dataScope>
                  </contents>
                 </table>


                </case>
                <case name="errNode">
                 <messageBox data:message="errMsg@filerInfo"
                             messageType="error"
                             longDescURL="unimpl"
                             data:text="ERR_OCCUR@mntrResourceBundle">
                 </messageBox>
                </case>
               </switcher>              
	            </contents>
	           </header>

           <spacer width="5"/>
	         <spacer height="20"/>

            <subTabBar orientation="top"
                       data:selectedIndex="selectedTab@folderInfo">
             <contents>
              <link data:text="HOME@mntrResourceBundle"
                    data:destination="filerOverviewDest@folderInfo"/>
              <oem:license>
              <contents>
              <link data:text="FILER_PERFORMANCE@filerResourceBundle"  
                    data:destination="filerPerformanceDest@folderInfo"/>
               </contents>
               </oem:license>
              <link data:text="FILER_VOLUMES@filerResourceBundle"  
	                  data:destination="filerVolumeDest@folderInfo"/>
              <link data:text="FILER_QTREES@filerResourceBundle"  
                    data:destination="filerQtreeDest@folderInfo"/>
            </contents>
           </subTabBar>

	          <spacer height="10"/>

           <header data:text="RELATED_LINKS@filerResourceBundle">
	     <contents>
	       <tableLayout cellSpacing="2" width="100%">
	         <contents>	         
	           <rowLayout>
	             <contents>
	     	       <bulletedList rows="2">
	     	         <contents data:childData="relatedLinks@filerRelateInfo">
	     		   <link data:text="text"
	     		         data:destination="destination"
	     		         data:targetFrame="propNewWin"/>		     
	     		 </contents>		     
	     	       </bulletedList>
	     	     </contents>
	           </rowLayout>	         
	         </contents>
               </tableLayout>
              </contents>
             </header>

            </contents>
            </header>
          </contents>
        </pageLayout>
      </contents>

      <provider>

        <data name="filerInfo">
          <method class="oracle.sysman.eml.target.filer.FilerCurDetailDataObject"
                  method="getFilerQtreeInfo"/>
        </data>

        <data name="commonResourceBundle">
            <bundle class="oracle.sysman.resources.CommonResourceBundle"/>
        </data>

        <data name="mntrResourceBundle">
            <bundle class="oracle.sysman.resources.MntrResourceBundle"/>
        </data>

        <data name="columnData">
         <inline>
          <colformat/>
          <colformat columnDataFormat="iconButtonFormat" width="10%"/> 
	        <colformat/>
          <colformat columnDataFormat="numberFormat"/>
          <colformat columnDataFormat="numberFormat"/>
	        <colformat/>
         </inline>
        </data>

        <data name="mntrResourceBundle">
          <bundle class="oracle.sysman.resources.MntrResourceBundle"/>
        </data>
        <data name="commonResourceBundle">
          <bundle class="oracle.sysman.resources.CommonResourceBundle"/>
        </data>
        <data name="filerResourceBundle">
          <bundle class="oracle.sysman.eml.rsc.target.filer.FilerResourceBundle"/>
        </data>

       <data name="folderInfo">
          <method class="oracle.sysman.eml.target.filer.FilerOverviewDataObject"
                  method="getFoldersInfo"/>
       </data>

       <data name="filerRelateInfo">
         <method class="oracle.sysman.eml.target.filer.FilerOverviewDataObject"
                 method="getFilerRelateInfo"/>
       </data>

      </provider>

    </dataScope>
  </baja:content>


  <handlers>
    <!-- use this handler to enter this page -->
    <event name="doLoad">
      <method class="oracle.sysman.eml.target.filer.FilerCurDetailDataObject" 
              method="doLoad"/>
    </event>

    <event name="goto">
      <method class="oracle.sysman.eml.target.filer.FilerCurDetailDataObject"
              method="doGoto"/>
    </event>

    <event name="sort">
      <method class="oracle.sysman.eml.target.filer.FilerCurDetailDataObject"
              method="doSort"/>
    </event>
  </handlers>

</page>
