<page xmlns="http://bali.us.oracle.com/cabo/baja" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:marlin="http://bali.us.oracle.com/cabo/marlin" xmlns:uix="http://bali.us.oracle.com/cabo/marlin" xmlns:data="http://bali.us.oracle.com/cabo/marlin" xmlns:baja="http://bali.us.oracle.com/cabo/baja">
  <head>
  </head>
  <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()
          {
           document.add_pool.appPoolName.focus();
          }
         </contents>
        </script>
        <html:title>
          <text>
            <boundAttribute name="text">
              <concat>
                <dataObject select="comm_win_title" source="win_title"/>
                <dataObject select="ADD_POOL" source="text"/>:&nbsp;
                <dataObject select="PoolPageTrainProperties" source="text"/>
              </concat>
            </boundAttribute>
          </text>
        </html:title>
        <form name="add_pool" method="post">
          <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/>
              <!-- Train -->
              <location>
                <train selectedIndex="0">
                  <contents>
                    <link data:text="PoolPageTrainProperties@text"/>
                    <link data:text="PoolPageTrainChooseServers@text"/>
                    <link data:text="PoolPageTrainSummary@text"/>
                  </contents>
                </train>
              </location>
              <!-- CONTENTS -->
              <contents>
                <tableLayout width="100%">
                  <contents>
                    <rowLayout hAlign="right">
                      <contents>
                        <cellFormat>
                          <contents>
                            <styledText text=""/>
                          </contents>
                        </cellFormat>
                        <cellFormat>
                          <contents>
                            <pageButtonBar>
                              <contents>
                                <submitButton unvalidated="true" data:text="Cancel@text" data:shortDesc="Cancel@text" name="event" value="cancel"/>
                                <navigationBar name="nav" value="1" maxValue="3" destination="addPoolProperties" formName="add_pool" formSubmitted="true"/>
                              </contents>
                            </pageButtonBar>
                          </contents>
                        </cellFormat>
                      </contents>
                    </rowLayout>
                  </contents>
                </tableLayout>
                <!-- Body Section -->
                <!-- header data:text="PoolPageTrainProperties@text" -->
                <header>
                  <boundAttribute name="text">
                    <concat>
                      <dataObject select="ADD_POOL" source="text"/>:&nbsp;<dataObject select="PoolPageTrainProperties" source="text"/></concat>
                  </boundAttribute>

                  <!-- start pool properties -->
                  <contents>
                    <labeledFieldLayout width="50%">
                      <contents>
                        <spacer height="10"/>
                        <messageTextInput data:prompt="AddSitePagePoolName@text" required="yes" shortDesc="poolName" columns="40" maximumLength="40" name="appPoolName" data:text="appPoolName@input">
                          <boundMessage select="appPoolNameError"/>
                        </messageTextInput>
                        <switcher data:childName="slb_type@type">
                          <case name="slb_bigip">
                            <messageChoice name="appPoolLBP" required="yes" data:prompt="AddSitePageLBP@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" required="yes" data:prompt="AddSitePageLBP@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>
                  </contents>
                  <!-- end app pool properties -->
                </header>
              </contents>
              <!-- Page Buttons Section -->
              <contentFooter>
                <pageButtonBar>
                  <contents>
                    <submitButton unvalidated="true" data:text="Cancel@text" data:shortDesc="Cancel@text" name="event" value="cancel"/>
                    <navigationBar name="nav" value="1" maxValue="3" destination="addPoolProperties" formName="add_pool" formSubmitted="true"/>
                  </contents>
                </pageButtonBar>
              </contentFooter>
            </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.AddPoolPage" 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="goto">
      <method class="oracle.sysman.eml.target.slb.mgmt.AddPoolPage" method="doNextPropertiesPage"/>
    </event>
    <event name="cancel">
      <method class="oracle.sysman.eml.target.slb.mgmt.AddPoolPage" method="doCancel"/>
    </event>
  </handlers>
</page>

