Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\wlm\policy\selectService.jsp
<%@ include file="/sdk/oemTop.jspf" %> <%@ include file="/oemNoscript.jspf"%> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag" prefix="oem" %> <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag/db" prefix="db" %> <uix:renderingContext id="renderingContext"> <oem:setURLEncoder id="renderingContext"/> <uix:document> <uix:metaContainer> <script> function lovSelect(lovField) { var choice = document.selService.servName; //lovField.value = choice.options[choice.selectedIndex].value; var value = choice.options[choice.selectedIndex].value; //alert(value); window.opener.lovCallBack(value); window.close(); } </script> </uix:metaContainer> <uix:body> <db:form name="selService" destinationBinding="defaultPage@wlmpolicybean@servletRequest" method="post" copyParams="target,type"> <uix:pageLayout > <uix:header textBinding="SELECT_SERVICE@resourcesBundle@servletRequest" > <uix:tableLayout width ="50%" cellSpacing="2"> <uix:rowLayout> <uix:cellFormat> <uix:styledText labeledNodeId = "servName" textBinding="SERVICES_COL@resourcesBundle@servletRequest" styleClass="oraFieldText" /> </uix:cellFormat> <uix:cellFormat> <uix:messageChoice name="servName" id = "servName" selectedValueBinding="serName@servletRequest"> <uix:contents childDataBinding="serviceList@wlmpolicybean@servletRequest"> <uix:option textBinding="text" valueBinding="text"/> </uix:contents> </uix:messageChoice> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:header> <uix:pageButtons> <uix:pageButtonBar> <uix:button textBinding="CANCEL@resourcesBundle@servletRequest" destination="javascript:self.close()" shortDescBinding = "CANCEL@resourcesBundle@servletRequest" /> <uix:button textBinding="OK@resourcesBundle@servletRequest" destination="javascript:lovSelect(window.opener.document.foo.sername)" shortDescBinding = "OK@resourcesBundle@servletRequest" /> </uix:pageButtonBar> </uix:pageButtons> </uix:pageLayout> </db:form> </uix:body> </uix:document> </uix:renderingContext>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de