<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">
    <dataScope>
      <contents>
        <html:title>
          <text>
            <boundAttribute name="text">
              <concat>
                <dataObject select="comm_win_title" source="win_title"/>
                <dataObject select="modifySiteResources" 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="modifySiteResources@text">
                  <!--
                  <boundAttribute name="text">
                    <concat>
                      <dataObject select="site_ipaddress" source="baja:page"/>:<dataObject select="service_port" source="baja:page"/>
                    </concat>
                  </boundAttribute>
-->
                  <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>
                  </contents>
                  <contents>
                    <styledText data:text="ModifySiteChooseResource@text" styleClass="OraInstructionText"/>
                  </contents>
                  <contents>
                    <!-- general properties -->
                    <!-- site creation method -->
                    <!--
                    <header data:text="SiteResource@text">
                      <contents>
-->
                    <tableLayout width="50%" cellSpacing="1">
                      <contents>
                        <rowLayout vAlign="top" hAlign="left">
                          <contents>
                            <spacer height="30"/>
                            <styledText styleClass="OraInstructionText">
                              <contents>
                                <radioButton data:text="UsingPoolText@text" name="siteResource" data:selected="usingPool@input" value="1"/>
                              </contents>
                            </styledText>
                            <cellFormat>
                              <contents>
                                <styledText styleClass="OraInstructionText">
                                  <contents>
                                    <include data:node="poolChoice@input"/>
                                  </contents>
                                </styledText>
                              </contents>
                            </cellFormat>
                          </contents>
                        </rowLayout>
                        <rowLayout>
                          <contents>
                            <spacer height="30"/>
                            <switcher data:childName="slb_type@type">
                              <case name="slb_bigip">
                                <flowLayout>
                                  <contents>
                                    <styledText styleClass="OraInstructionText">
                                      <contents>
                                        <radioButton data:text="UsingRuleText@text" name="siteResource" data:selected="usingRule@input" value="2"/>
                                      </contents>
                                    </styledText>
                                    <cellFormat>
                                      <contents>
                                        <styledText styleClass="OraInstructionText">
                                          <contents>
                                            <include data:node="ruleChoice@input"/>
                                          </contents>
                                        </styledText>
                                      </contents>
                                    </cellFormat>
                                  </contents>
                                </flowLayout>
                              </case>
                            </switcher>
                          </contents>
                        </rowLayout>
                      </contents>
                    </tableLayout>
                  </contents>
                </header>
                <!--
                  </contents>
                </header>
-->
                <!-- end of properties -->
              </contents>
            </pageLayout>
          </case>
          </switcher>
          </contents>
        </form>
      </contents>
      <provider>
        <data name="SLBBundle">
          <bundle class="oracle.sysman.eml.rsc.target.slb.SLBBundle"/>
        </data>
        <data name="text">
          <bundle class="oracle.sysman.eml.rsc.target.slb.SLBBundle"/>
        </data>
        <data name="service_properties">
          <method class="oracle.sysman.eml.target.slb.mgmt.ModifyServicePropertyPage" method="getServiceProperties"/>
        </data>
        <data name="input">
          <method class="oracle.sysman.eml.target.slb.mgmt.ModifyServicePropertyPage" 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>
  </baja:content>
  <handlers>
    <event name="doSubmit">
      <method class="oracle.sysman.eml.target.slb.mgmt.ModifyServicePropertyPage" method="submitModify"/>
    </event>
    <event name="cancel">
      <method class="oracle.sysman.eml.target.slb.mgmt.ModifyServicePropertyPage" method="doCancel"/>
    </event>
    <event name="null">
      <method class="oracle.sysman.eml.target.slb.common.SLBOnlineHelp" method="setHelpPage"/>
    </event>
  </handlers>
</page>

