<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">
  </baja:head>
  <!-- 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()
          {
           document.editRealServerForm.connectionLimit.focus();
          }
         </contents>
        </script>
        <html:title>
          <text>
            <boundAttribute name="text">
              <concat>
                <dataObject select="comm_win_title" source="win_title"/>
                <dataObject select="modifyRealServerProperties" source="text"/>
              </concat>
            </boundAttribute>
          </text>
        </html:title>
        <form name="editRealServerForm">
          <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"/>
<!--
                <breadCrumbs>
                  <contents>
                    <link data:text="target@baja:page" data:destination="slbdest@link"/>
                    <link data:text="real_server_name_header@real_server_header"/>
                  </contents>
                </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="real_server_name_header@baja:page">
                  <contents>
                -->
                    <!-- general properties -->
                    <header data:text="modifyRealServerProperties@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_bigip">
                          -->
                                <messageTextInput data:prompt="ConnectionLimit@text" columns="10" maximumLength="10" data:tip="ConnectionLimitTip@text" name="connectionLimit" data:text="connectionLimit@input">
                                  <boundMessage select="connectionLimitError"/>
                                </messageTextInput>
                          <!--
                              </case>
                            </switcher>
                          -->
                          </contents>
                        </labeledFieldLayout>
                      </contents>
                    </header>
               <!--
                  </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="input">
          <method class="oracle.sysman.eml.target.slb.mgmt.ModifyRealServerPropertyPage" 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.ModifyRealServerPropertyPage" method="submitModify"/>
    </event>
    <event name="cancel">
      <method class="oracle.sysman.eml.target.slb.mgmt.ModifyRealServerPropertyPage" method="doCancel"/>
    </event>
    <event name="null">
      <method class="oracle.sysman.eml.target.slb.common.SLBOnlineHelp" method="setHelpPage"/>
    </event>
  </handlers>
</page>

