Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\OC4J_EM\applications\em\em\monitoring\host\admin\hostNetworkCards.uix
<page xmlns="http://bali.us.oracle.com/cabo/baja" xmlns:baja="http://bali.us.oracle.com/cabo/baja" xmlns:marlin="http://bali.us.oracle.com/cabo/marlin" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:oem="http://xmlns.oracle.com/oem/ui/beans" xmlns:data="http://bali.us.oracle.com/cabo/marlin"> <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin"> <body><contents> <script><contents> function myCallBack(lovWindow, event) { return true; } function updateDG(lovWindow, event) { window.document.hostNetworkCard.defaultGateway.value = lovWindow.document.forms[0].defaultGateway.value; lovWindow.close(); submitForm('hostNetworkCard', true, {event:'okGateway'}); } function updateDNS(lovWindow, event) { window.document.hostNetworkCard.dname.value = lovWindow.document.forms[0].domainName.value; window.document.hostNetworkCard.ns1.value = lovWindow.document.forms[0].nameServer1.value; window.document.hostNetworkCard.ns2.value = lovWindow.document.forms[0].nameServer2.value; window.document.hostNetworkCard.ns3.value = lovWindow.document.forms[0].nameServer3.value; lovWindow.close(); submitForm('hostNetworkCard', true, {event:'okDNS'}); } function loadDNSLov() { var targetName = document.hostNetworkCard.targetNameField.value; var myStr = "hostGlobalDNSSettings$target="+targetName+"$type=host"; openWindow(top, myStr, 'lovWindow', {width:550, height:350}, true, 'dialog', myCallBack); } function loadGatewayLov() { var targetName = document.hostNetworkCard.targetNameField.value; var myStr = "hostdefaultGateway$target="+targetName+"$type=host"; openWindow(top, myStr, 'lovWindow', {width:450, height:250}, true, 'dialog', myCallBack); } </contents></script> <dataScope> <contents> <html:title> <text data:text="title@hostNetworkCards"/> </html:title> <html:noScript>"JavaScript is not supported by your browser. Oracle requires JavaScript support in order to completely render this page."</html:noScript> <form name="hostNetworkCard" method="POST"> <contents> <pageLayout xmlns="http://bali.us.oracle.com/cabo/marlin"> <mediumAdvertisement> <include baja:node="../../../oemBanner" /> </mediumAdvertisement> <marlin:globalButtons> <include baja:node="../../../globalButtonBar" /> </marlin:globalButtons> <marlin:tabs> <include baja:node="../../../globalTabs" /> </marlin:tabs> <marlin:pageHeader> <include baja:node="../../../globalHeader" /> </marlin:pageHeader> <marlin:location> <include baja:node="../../../breadCrumbs"/> </marlin:location> <copyright> <include baja:node="../../../copyright"/> </copyright> <contentFooter> <switcher childName="okNode" data:childName="node@hostNetworkCards"> <case name="okNode"> <tableLayout> <contents> <rowLayout> <contents> <spacer width="20"/> <submitButton data:text="DONE@hostResourceBundle" name="event" value="done"/> </contents> </rowLayout> </contents> </tableLayout> </case> <case name="errNode"> <tableLayout> <contents> <rowLayout> <contents> <submitButton data:text="OK_BUTTON@mntrResourceBundle" name="event" value="done" /> </contents> </rowLayout> </contents> </tableLayout> </case> </switcher> </contentFooter> <contents> <switcher childName="okNode" data:childName="node@hostNetworkCards"> <case name="okNode"> <stackLayout> <contents> <messageBox messageType="info" data:messageType="inlineMessageType@hostNetworkCards" data:message="inlineConfirm@hostNetworkCards" rendered="false" data:rendered="showConfirm@hostNetworkCards" /> <spacer height="10"/> <header data:text="HOST_NETWORK_CARD@hostResourceBundle"> <contents> <tableLayout width="100%"> <contents> <rowLayout> <contents> <cellFormat> <contents> <rowLayout hAlign="left"> <contents> <styledText data:text="HOST_NETWORK_CARDS_INSTRUCTION@hostResourceBundle" styleClass="OraPromptText"/> </contents> </rowLayout> </contents> </cellFormat> <cellFormat> <contents> <rowLayout hAlign="right"> <contents> <submitButton data:text="DONE@hostResourceBundle" name="event" value="done"/> </contents> </rowLayout> </contents> </cellFormat> </contents> </rowLayout> <rowLayout> <contents> <cellFormat> <contents> <spacer height="10"/> <rowLayout hAlign="right"> <contents> </contents> </rowLayout> </contents> </cellFormat> <cellFormat> <contents> <spacer height="10"/> <rowLayout hAlign="right"> <contents> <styledText data:text="CREDENTIALS@hostResourceBundle" styleClass="OraPromptText"/> </contents> <contents> <spacer width="10"/> <styledText data:text="Credentials@hostNetworkCards" styleClass="OraInstructionTextStrong"/> </contents> <contents> <spacer width="10"/> <submitButton data:text="CHANGE@hostResourceBundle" name="event" value="switchUser"/> </contents> </rowLayout> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> <spacer height="10"/> </contents> <contents> <spacer height="10"/> <table name="networkCards" partialRenderMode="self" data:tableData="row@hostNetworkCards" data:columnHeaderData="column@hostNetworkCards" data:columnFormats="colformat@columnFormatData" data:value="value@hostNetworkCards" data:minValue="minValue@hostNetworkCards" data:blockSize="blockSize@hostNetworkCards" data:maxValue="maxValue@hostNetworkCards" proxied="true" destination="javascript:findSelection()" formSubmitted="true" summary="hostNetworkCards" id="hostNetworkCards" showAll="yes" width="70%" data:alternateText="Network Cards"> <tableFormat tableBanding="rowBanding"/> <columnHeaderStamp> <sortableHeader data:text="text"/> </columnHeaderStamp> <tableSelection> <singleSelection selectedIndex="0" text=""> <contents> <submitButton data:text="CONFIGURE@commonResourceBundle" name="event" value="doConfigure"/> <spacer width="2"/> <submitButton id="enable" data:text="ENABLE@hostResourceBundle" name="event" value="doEnable"/> <spacer width="2"/> <submitButton id="disable" data:text="DISABLE@hostResourceBundle" name="event" value="doDisable"/> <spacer width="2"/> </contents> </singleSelection> </tableSelection> <contents> <styledText data:text="Name" data:shortDesc="Name" /> <styledText data:text="Device" data:shortDesc="Device" /> <styledText data:text="Status" data:shortDesc="Status" /> <styledText data:text="IPAddress" data:shortDesc="IP Address" /> <formValue name="Status" data:value="Status"/> </contents> </table> <spacer height="10"/> <spacer width="8"/> </contents> <contents> <header data:text="HOST_EM_NETWORK_CARD@hostResourceBundle"> <contents> <spacer height="5" width ="5"/> <tableLayout width="100%"> <contents> <rowLayout> <contents> <cellFormat> <contents> <rowLayout hAlign="left"> <contents> <styledText data:text="HOST_EM_NETWORK_CARDS_INSTRUCTION@hostResourceBundle" styleClass="OraPromptText"/> <spacer height="8"/> </contents> </rowLayout> </contents> </cellFormat> </contents> </rowLayout> <rowLayout> <contents> <cellFormat> <contents> <spacer height="8"/> <rowLayout hAlign="left"> <contents> <spacer height="10"/> <table name="emNetworkCards" partialRenderMode="self" data:tableData="emrow@hostNetworkCards" data:columnHeaderData="emcolumn@hostNetworkCards" data:columnFormats="colformat@columnFormatData2" data:value="value@hostNetworkCards" data:minValue="minValue@hostNetworkCards" data:blockSize="blockSize@hostNetworkCards" data:maxValue="maxValue@hostNetworkCards" formSubmitted="true" summary="hostEMNetworkCards" id="hostEMNetworkCards" showAll="yes" width="80%" data:alternateText="EM Network Cards"> <tableFormat tableBanding="rowBanding"/> <columnHeaderStamp> <sortableHeader data:text="text"/> </columnHeaderStamp> <contents> <styledText data:text="Name" data:shortDesc="Name" /> <styledText data:text="Device" data:shortDesc="Device" /> <styledText data:text="IPAddress" data:shortDesc="IP Address" /> </contents> </table> </contents> </rowLayout> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> </contents> </header> </contents> <contents> <header data:text="HOST_GLOBAL_DNS_SETTINGS@hostResourceBundle"> <spacer height="8"/> <contents> <html:input type="hidden" name="targetNameField" data:value="targetName@hostNetworkCards"/> <html:input type="hidden" name="defaultGateway" /> <html:input type="hidden" name="dname" /> <html:input type="hidden" name="ns1" /> <html:input type="hidden" name="ns2" /> <html:input type="hidden" name="ns3" /> <spacer height="1" width ="5"/> <tableLayout width="100%"> <contents> <rowLayout> <contents> <cellFormat> <contents> <rowLayout hAlign="left"> <contents> <styledText data:text="HOST_GLOBAL_DNS_SETTINGS_INSTRUCTION@hostResourceBundle" styleClass="OraPromptText"/> </contents> </rowLayout> </contents> </cellFormat> <cellFormat> <contents> <rowLayout hAlign="right"> <contents> <button data:text="EDIT_BUTTON@mntrResourceBundle" onClick="loadDNSLov();"> </button> </contents> </rowLayout> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> <spacer height="10"/> <tableLayout cellSpacing="8"> <contents> <rowLayout> <contents> <spacer width="20"/> <cellFormat hAlign="right"> <contents> <styledText data:text="HOST_DOMAIN_NAME@hostResourceBundle" styleClass="OraPromptText"/> <spacer height="3"/> </contents> </cellFormat> <cellFormat hAlign="left"> <contents> <styledText data:text="domainName@hostNetworkCards" styleClass="OraInstructionTextStrong"/> <spacer height="3"/> </contents> </cellFormat> </contents> </rowLayout> <rowLayout> <contents> <spacer width="18"/> <cellFormat hAlign="right"> <contents> <styledText data:text="HOST_NAME_SERVER_1@hostResourceBundle" styleClass="OraPromptText"/> <spacer height="3"/> </contents> </cellFormat> <cellFormat hAlign="left"> <contents> <styledText data:text="nameServer1@hostNetworkCards" styleClass="OraInstructionTextStrong"/> <spacer height="3"/> </contents> </cellFormat> </contents> </rowLayout> <switcher childName="no" data:childName="ns2@hostNetworkCards"> <case name="yes"> <rowLayout> <contents> <spacer width="18"/> <cellFormat hAlign="right"> <contents> <styledText data:text="HOST_NAME_SERVER_2@hostResourceBundle" styleClass="OraPromptText"/> <spacer height="3"/> </contents> </cellFormat> <cellFormat hAlign="left"> <contents> <styledText data:text="nameServer2@hostNetworkCards" styleClass="OraInstructionTextStrong"/> <spacer height="3"/> </contents> </cellFormat> </contents> </rowLayout> </case> </switcher> <switcher childName="no" data:childName="ns3@hostNetworkCards"> <case name="yes"> <rowLayout> <contents> <spacer width="18"/> <cellFormat hAlign="right"> <contents> <styledText data:text="HOST_NAME_SERVER_3@hostResourceBundle" styleClass="OraPromptText"/> <spacer height="3"/> </contents> </cellFormat> <cellFormat hAlign="left"> <contents> <styledText data:text="nameServer3@hostNetworkCards" styleClass="OraInstructionTextStrong"/> <spacer height="3"/> </contents> </cellFormat> </contents> </rowLayout> </case> </switcher> </contents> </tableLayout> </contents> </header> </contents> <contents> <header data:text="HOST_ROUTING_TABLE@hostResourceBundle"> <contents> <spacer height="5" width ="5"/> <tableLayout width="100%"> <contents> <rowLayout> <contents> <cellFormat> <contents> <rowLayout hAlign="left"> <contents> <styledText data:text="HOST_ROUTING_TABLE_INSTRUCTION@hostResourceBundle" styleClass="OraPromptText"/> </contents> </rowLayout> </contents> </cellFormat> </contents> </rowLayout> <rowLayout> <contents> <cellFormat> <contents> <spacer height="5"/> <rowLayout hAlign="left"> <contents> <spacer height="12"/> <spacer width ="18"/> <cellFormat hAlign="right"> <contents> <styledText data:text="HOST_DAFAULT_GATEWAY@hostResourceBundle" styleClass="OraPromptText"/> <spacer height="3"/> </contents> </cellFormat> <cellFormat hAlign="left"> <contents> <spacer width="8"/> <spacer height="3"/> <styledText data:text="defaultGateway@hostNetworkCards" styleClass="OraInstructionTextStrong"/> <spacer height="3"/> <spacer width="5"/> <button data:text="EDIT_BUTTON@mntrResourceBundle" onClick="loadGatewayLov();"> </button> <spacer height="8"/> </contents> </cellFormat> </contents> </rowLayout> </contents> </cellFormat> </contents> </rowLayout> <rowLayout> <contents> <cellFormat> <contents> <spacer height="10"/> <rowLayout hAlign="left"> <contents> <spacer height="12"/> <spacer width ="8"/> <table name="routingTable" partialRenderMode="self" data:tableData="routingrow@hostNetworkCards" data:columnHeaderData="routingcolumn@hostNetworkCards" data:columnFormats="colformat@columnFormatData3" data:value="value@hostNetworkCards" data:minValue="minValue@hostNetworkCards" data:blockSize="blockSize@hostNetworkCards" data:maxValue="maxValue@hostNetworkCards" formSubmitted="true" summary="routingTable" id="routingTable" showAll="yes" width="70%" data:alternateText="Routing Table"> <tableFormat tableBanding="rowBanding"/> <columnHeaderStamp> <sortableHeader data:text="text"/> </columnHeaderStamp> <tableActions> <submitButton data:text="ADD@commonResourceBundle" name="event" value="doAdd"/> </tableActions> <tableSelection> <singleSelection selectedIndex="0" text="" > <contents> <submitButton data:text="DELETE@commonResourceBundle" name="event" value="doDelete"/> </contents> </singleSelection> </tableSelection> <contents> <styledText data:text="Destination" data:shortDesc="Destination" /> <styledText data:text="Gateway" data:shortDesc="Gateway" /> <styledText data:text="Netmask" data:shortDesc="Netmask" /> <styledText data:text="Device" data:shortDesc="Device" /> </contents> </table> </contents> </rowLayout> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> </contents> </header> </contents> </header> </contents> </stackLayout> </case> <case name="errNode"> <stackLayout> <contents> <tableLayout width="100%"> <contents> <rowLayout> <contents> <cellFormat> <contents> <rowLayout hAlign="right"> <contents> <styledText data:text="CREDENTIALS@hostResourceBundle" styleClass="OraPromptText"/> </contents> <contents> <spacer width="10"/> <submitButton data:text="CHANGE@hostResourceBundle" name="event" value="switchUser"/> </contents> </rowLayout> </contents> </cellFormat> </contents> </rowLayout> </contents> </tableLayout> <messageBox data:message="errMsg@hostNetworkCards" messageType="error" longDescURL="unimpl" data:text="ERR_OCCUR@mntrResourceBundle"> </messageBox> </contents> </stackLayout> </case> </switcher> <spacer height="15"/> </contents> </pageLayout> </contents> </form> </contents> <provider> <data name="columnFormatData"> <inline> <colformat/> <colformat/> <colformat/> <colformat/> </inline> </data> <data name="columnFormatData2"> <inline> <colformat cellNoWrapFormat="true"/> <colformat cellNoWrapFormat="true"/> <colformat cellNoWrapFormat="true"/> </inline> </data> <data name="columnFormatData3"> <inline> <colformat/> <colformat/> <colformat/> <colformat/> </inline> </data> <data name="hostNetworkCards"> <method class="oracle.sysman.eml.host.admin.HostNetworkCardPageHandler" method="getHostNetworkcard"/> </data> <data name="mntrResourceBundle"> <bundle class="oracle.sysman.resources.MntrResourceBundle"/> </data> <data name="commonResourceBundle"> <bundle class="oracle.sysman.resources.CommonResourceBundle"/> </data> <data name="hostResourceBundle"> <bundle class="oracle.sysman.eml.host.HostResourceBundle"/> </data> </provider> </dataScope> </contents></body> </baja:content> <handlers> <event name="sort"> <method class="oracle.sysman.eml.host.admin.HostNetworkCardPageHandler" method="doSort"/> </event> <event name="goto"> <method class="oracle.sysman.eml.host.admin.HostNetworkCardPageHandler" method="doGoto"/> </event> <event name="doConfigure"> <method class="oracle.sysman.eml.host.admin.HostNetworkCardPageHandler" method="doCommand"/> </event> <event name="doEnable"> <method class="oracle.sysman.eml.host.admin.HostNetworkCardPageHandler" method="doCommand"/> </event> <event name="doDisable"> <method class="oracle.sysman.eml.host.admin.HostNetworkCardPageHandler" method="doCommand"/> </event> <event name="doDelete"> <method class="oracle.sysman.eml.host.admin.HostNetworkCardPageHandler" method="doCommand"/> </event> <event name="doAdd"> <method class="oracle.sysman.eml.host.admin.HostNetworkCardPageHandler" method="doCommand"/> </event> <event name="doEdit"> <method class="oracle.sysman.eml.host.admin.HostNetworkCardPageHandler" method="doCommand"/> </event> <event name="done"> <method class="oracle.sysman.eml.host.admin.HostNetworkCardPageHandler" method="doCommand"/> </event> <event name="switchUser"> <method class="oracle.sysman.eml.host.admin.HostNetworkCardPageHandler" method="doSwitchUser"/> </event> <event name="okGateway"> <method class="oracle.sysman.eml.host.admin.HostNetworkCardPageHandler" method="doCommand"/> </event> <event name="okDNS"> <method class="oracle.sysman.eml.host.admin.HostNetworkCardPageHandler" method="doCommand"/> </event> <event name="*"> <method class="oracle.sysman.eml.host.admin.HostNetworkCardPageHandler" method="doLoad"/> </event> </handlers> </page>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de