<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">
  <!-- Browser Title Bar -->
  <baja:head xmlns="http://www.w3.org/TR/REC-html40"/>
  <!-- Begin Page Content -->
  <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin" xmlns:marlin="http://bali.us.oracle.com/cabo/marlin">
   <body onLoad="loadIt();">
    <contents>
     <dataScope>
       <contents>
        <script>
         <contents>
          function loadIt()
          {

          }
         </contents>
        </script>
        <html:title>
          <text>
            <boundAttribute name="text">
              <concat>
                <dataObject select="comm_win_title" source="win_title"/>
                <dataObject select="ModifyPoolProperties" source="text"/>
              </concat>
            </boundAttribute>
          </text>
        </html:title>
        <form name="editserviceform">
          <contents>
    	  <switcher data:childName="hasMgmtPriv@user_target_priv">
           <case name="true">
            <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>
              <contentFooter>
                <pageButtonBar>
                  <contents>
                    <button data:text="Cancel@text" data:shortDesc="Cancel@text" baja:event="cancel"/>
                  </contents>
                  <contents>
                    <submitButton data:text="OK@text" data:shortDesc="OK@text" baja:event="doSubmit"/>
                  </contents>
                </pageButtonBar>
              </contentFooter>
              <contents>
                <spacer height="5"/>
                <header data:text="ModifyPoolProperties@text">
                  <contents>
                    <rowLayout hAlign="right">
                      <contents>
                        <pageButtonBar>
                          <contents>
                            <button data:text="Cancel@text" data:shortDesc="Cancel@text" baja:event="cancel"/>
                            <submitButton data:text="OK@text" data:shortDesc="OK@text" baja:event="doSubmit"/>
                          </contents>
                        </pageButtonBar>
                      </contents>
                    </rowLayout>
                    <labeledFieldLayout width="300">
                      <contents>
                        <switcher data:childName="slb_type@type">
                          <case name="slb_nortel">
                            <messageTextInput data:prompt="AddSitePagePoolName@text" shortDesc="poolName" columns="40" maximumLength="40" name="appPoolName" data:text="appPoolName@input">
                              <boundMessage select="appPoolNameError"/>
                            </messageTextInput>
                          </case>
                        </switcher>
                        <switcher data:childName="slb_type@type">
                          <case name="slb_bigip">
                            <messageChoice name="appPoolLBP" data:prompt="SelectLBP@text" data:selectedValue="appPoolLBP@input">
                              <contents>
                                <option data:text="BIGIP_LBP_RoundRobin@textLBP" value="0"/>
                                <option data:text="BIGIP_LBP_RatioNodeAddress@textLBP" value="1"/>
                                <option data:text="BIGIP_LBP_FastestNodeAddress@textLBP" value="2"/>
                                <option data:text="BIGIP_LBP_LeastConnectionsNodeAddress@textLBP" value="3"/>
                                <option data:text="BIGIP_LBP_RatioMember@textLBP" value="4"/>
                                <option data:text="BIGIP_LBP_LeastConnectionsMember@textLBP" value="5"/>
                                <option data:text="BIGIP_LBP_ObservedMember@textLBP" value="6"/>
                                <option data:text="BIGIP_LBP_PredictiveMember@textLBP" value="7"/>
                                <option data:text="BIGIP_LBP_ObservedNodeAddress@textLBP" value="8"/>
                                <option data:text="BIGIP_LBP_PredictiveNodeAddress@textLBP" value="9"/>
                                <option data:text="BIGIP_LBP_DynamicRatio@textLBP" value="10"/>
                              </contents>
                            </messageChoice>
                          </case>
                          <case name="slb_nortel">
                            <messageChoice name="appPoolLBP" data:prompt="SelectLBP@text" data:selectedValue="appPoolLBP@input">
                              <contents>
                                <option data:text="NORTEL_LBP_RoundRobin@textLBP" value="1"/>
                                <option data:text="NORTEL_LBP_LeastConnection@textLBP" value="2"/>
                                <option data:text="NORTEL_LBP_MinCacheMisses@textLBP" value="3"/>
                                <option data:text="NORTEL_LBP_Hash@textLBP" value="4"/>
                              </contents>
                            </messageChoice>
                          </case>
                        </switcher>
                      </contents>
                    </labeledFieldLayout>
                    <!-- Links -->
                  </contents>
                </header>
                <!-- end of properties -->
              </contents>
            </pageLayout>
          </case>
          </switcher>
          </contents>
        </form>
      </contents>
      <provider>
        <data name="text">
          <bundle class="oracle.sysman.eml.rsc.target.slb.SLBBundle"/>
        </data>
        <data name="textLBP">
          <method class="oracle.sysman.eml.target.slb.common.SLB" method="getLoadBalancingPolicyStrings"/>
        </data>
        <data name="input">
          <method class="oracle.sysman.eml.target.slb.mgmt.ModifyPoolPropertyPage" method="getInputValues"/>
        </data>
        <data name="type">
          <method class="oracle.sysman.eml.target.slb.common.SLB" method="getUixSlbType"/>
        </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>
      </provider>
    </dataScope>
    </contents>
   </body>
  </baja:content>

  <handlers>
    <event name="doSubmit">
      <method class="oracle.sysman.eml.target.slb.mgmt.ModifyPoolPropertyPage" method="submitModify"/>
    </event>
    <event name="cancel">
      <method class="oracle.sysman.eml.target.slb.mgmt.ModifyPoolPropertyPage" method="doCancel"/>
    </event>
    <event name="null">
      <method class="oracle.sysman.eml.target.slb.common.SLBOnlineHelp" method="setHelpPage"/>
    </event>
  </handlers>
</page>

