<page xmlns="http://xmlns.oracle.com/uix/controller"
      xmlns:ui="http://xmlns.oracle.com/uix/ui"
      xmlns:baja="http://bali.us.oracle.com/cabo/baja"
      xmlns:data="http://xmlns.oracle.com/uix/ui"
      xmlns:html="http://www.w3.org/TR/REC-html40"
      xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
      xmlns:uix="http://bali.us.oracle.com/cabo/marlin">
  <baja:head xmlns="http://www.w3.org/TR/REC-html40">
  </baja:head>
  <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin" xmlns:marlin="http://bali.us.oracle.com/cabo/marlin">
    <dataScope xmlns="http://bali.us.oracle.com/cabo/marlin"
           xmlns:data="http://bali.us.oracle.com/cabo/marlin"
           xmlns:uix="http://bali.us.oracle.com/cabo/marlin"
           xmlns:baja="http://bali.us.oracle.com/cabo/baja">
      <contents>
      <html:title>
          <text>
            <boundAttribute name="text">
              <concat>
                <dataObject select="comm_win_title" source="win_title"/>
                <dataObject select="slbRealServers" source="SLBBundle"/>
              </concat>
            </boundAttribute>
          </text>
        </html:title>
        <html:noScript> "JavaScript is not supported by your browser. Oracle requires JavaScript support in order to completely render this page." </html:noScript>
        <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>
          <copyright>
            <include baja:node="../../../copyright"/>
          </copyright>
          <privacy/>
          <location>
            <include baja:node="../../../breadCrumbs"/>
          </location>
          <contents>
            <header data:text="slbRealServers@SLBBundle">
              <contents>

                      <tableLayout width="100%">
                          <contents>
                            <rowLayout>
                              <contents>
                                <cellFormat>
                                  <contents>
                                    <rowLayout hAlign="right">
                                      <contents>
                                        <include baja:node="timestamp"/>
                                        <spacer width="8"/>
                                        <image data:source="refreshIcon@refreshButtonData"
                                               data:destination="refreshUrl@refreshButtonData"
                                               data:shortDesc="REFRESH_ICON_BUBBLE@SLBBundle"/>
                                        <spacer width="8"/>
                                        <button data:text="showButtonText@realServer_list"
                                                      baja:event="show"
                                                      data:rendered="rendered@realServer_list"/>
                                      </contents>
                                    </rowLayout>
                                  </contents>
                                </cellFormat>
                              </contents>
                            </rowLayout>
                          </contents>
                        </tableLayout>

                        <tableLayout width="100%">
                          <contents>
                            <rowLayout hAlign="right">
                              <contents>
                                <switcher data:childName="hasMgmtPriv@user_target_priv">
                                  <case name="true">
                                    <button data:text="Add@SLBBundle" baja:event="addRealServer"/>
                                   </case>
                                 </switcher>
                              </contents>
                            </rowLayout>
                          </contents>
                        </tableLayout>
                    <form name="realServerTableform">
                      <contents>
                        <table data:summary="RealSer_Table_Summary@SLBBundle" name="realServerList" data:blockSize="blockSize@realServer_list"
                          partialRenderMode="self" id="realServerList_tableID"
                          data:maxValue="maxValue@realServer_list" data:value="value@realServer_list"
                          data:columnHeaderData="column@realServer_list" width="100%"
                          data:tableData="row@realServer_list"
                          data:columnFormats="colformat@columnFormatData">
                        <tableFormat tableBanding="rowBanding" bandingInterval="1"/>
                          <!--<columnHeaderStamp>
                            <boundText select="value"/>
                          </columnHeaderStamp>-->
                          <columnHeaderStamp>
                            <sortableHeader data:text="text" data:sortable="sortable"/>
                          </columnHeaderStamp>

                          <boundAttribute name="columnHeaderData">
                            <dataObject select="column" source="realServer_list"/>
                          </boundAttribute>
                          <contents>

                          <link uix:text="rs_name" uix:destination="rs_name_link"/>
                            <image uix:source="rs_status"/>
                           <!--
                            <styledText data:rendered="nortel_render@type" uix:text="rs_state"/>
                            <styledText data:rendered="nortel_render@type" uix:text="rs_ipaddress"/>
                            <styledText data:rendered="nortel_render@type" uix:text="rs_switch_port"/>
                           --> 
                            <styledText data:rendered="bigip_render@type" uix:text="rs_pool"/>
                           <!--
                            <link uix:text="rs_cpu_usage" uix:destination="rs_cpu_usage_graph_link"/>
                            <link uix:text="rs_mem_usage" uix:destination="rs_mem_usage_graph_link"/>
                           --> 
                            <link uix:text="rs_concur" uix:destination="rs_concur_graph_link"/>
                            <link uix:text="rs_con_sec" uix:destination="rs_con_sec_graph_link"/>
                            <link uix:text="rs_conmax" uix:destination="rs_conmax_graph_link"/>
                           <!--
                            <link data:rendered="nortel_render@type" uix:text="rs_bandwidth_sec" uix:destination="rs_bandwidth_sec_graph_link"/>
                           --> 
                            <link data:rendered="bigip_render@type" uix:text="rs_bitsin_sec" uix:destination="rs_bitsin_sec_graph_link"/>
                            <link data:rendered="bigip_render@type" uix:text="rs_bitsout_sec" uix:destination="rs_bitsout_sec_graph_link"/>
                          </contents>
                        </table>
                      </contents>
                    </form>
                  </contents>
              </header>
            </contents>
          </pageLayout>
      </contents>
      <provider>
        <data name="realServer_list">
          <method class="oracle.sysman.eml.target.slb.mgmt.SlbRealServerPage" method="getRealServerList"/>
        </data>
        <data name="SLBBundle">
          <bundle class="oracle.sysman.eml.rsc.target.slb.SLBBundle"/>
        </data>
        <data name="columnFormatData">
          <inline>
            <colformat/>
            <colformat columnDataFormat="iconButtonFormat"/>
            <colformat/>
            <colformat columnDataFormat="numberFormat"/>
            <colformat columnDataFormat="numberFormat"/>
           <!--
            <colformat columnDataFormat="numberFormat"/>
            <colformat columnDataFormat="numberFormat"/>
          -->  
            <colformat columnDataFormat="numberFormat"/>
            <colformat columnDataFormat="numberFormat"/>
            <colformat columnDataFormat="numberFormat"/>
            <colformat columnDataFormat="numberFormat"/>
            <colformat columnDataFormat="numberFormat"/>
            <colformat columnDataFormat="numberFormat"/>
            <colformat columnDataFormat="numberFormat"/>
          </inline>
        </data>
        <data name="user_target_priv">
          <method class="oracle.sysman.eml.target.slb.mgmt.RoleBasedMgmt" method="getUserTargetPriv"/>
        </data>
        <data name="win_title">
          <method class="oracle.sysman.eml.target.slb.common.SLB" method="getCommonWinTitle"/>
        </data>
        <data name="refreshButtonData">
          <method class="oracle.sysman.eml.target.slb.common.SLBCommonUIX" method="getRefreshButtonData"/>
        </data>
        <data name="type">
          <method class="oracle.sysman.eml.target.slb.common.SLB" method="getUixSlbType"/>
        </data>
      </provider>
    </dataScope>
  </baja:content>
  <handlers>
    <!-- real server operation -->
    <event name="addRealServer">
      <method class="oracle.sysman.eml.target.slb.mgmt.AddRealServerPage" method="createRealServer"/>
    </event>
    <event name="sort">
      <method class="oracle.sysman.eml.target.slb.common.SLBCommonUIX" method="doSort"/>
    </event>
    <event name="goto">
      <method class="oracle.sysman.eml.target.slb.common.SLBCommonUIX" method="doGoto"/>
    </event>
    <event name="refresh">
      <method class="oracle.sysman.eml.target.slb.common.SLBCommonUIX" method="doRefresh"/>
    </event>
    <event name="show">
      <method class="oracle.sysman.eml.target.slb.common.SLBCommonUIX" method="doShow"/>
    </event>
    <event name="null">
      <method class="oracle.sysman.eml.target.slb.common.SLBOnlineHelp" method="setHelpPage"/>
    </event>
  </handlers>
</page>
