Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\database\security\appctxt\oidappctxtalldomains.jsp
<%@ include file="/sdk/oemTop.jspf" %> <%@ include file="/oemNoscript.jspf" %> <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix"%> <%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag" prefix="oem"%> <%@ page import="oracle.sysman.emSDK.util.jdk.NLSUtil"%> <%@ page import="oracle.sysman.db.rsc.sec.OIDAppCtxtMsg"%> <%@ page import="oracle.cabo.ui.data.BundleDataObject"%> <%@ page import="java.util.ResourceBundle"%> <%@ page import="oracle.sysman.emo.util.UIXDataSource"%> <%@ page import="oracle.sysman.db.adm.ParameterNames"%> <%@ page import="java.util.Map"%> <%@ page import="java.util.Set"%> <%@ page import="java.util.List"%> <%@ page import="java.util.HashMap"%> <%@ page import="java.util.Iterator"%> <% ResourceBundle oidAppCtxtBundle=NLSUtil.getBundle(OIDAppCtxtMsg.class.getName(), request); StringBuffer oemTitle = (StringBuffer)request.getAttribute("_emSDK_PageTitle"); oemTitle.append(" - "); oemTitle.append(oidAppCtxtBundle.getString("OID_APP_CTXT_ALL_DOMAINS_PAGE_TITLE")); String sAllDomainReturnToEvent="OID_APP_CTXT_INSERT_CTXT_UI"; String sSubmitFormJS=""; if(request.getAttribute("OID_APP_CTXT_ALL_DOMAINS_RETURN_TO_EVENT") != null) { sAllDomainReturnToEvent=String.valueOf(request.getAttribute("OID_APP_CTXT_ALL_DOMAINS_RETURN_TO_EVENT")); sSubmitFormJS="submitMainForm('"+sAllDomainReturnToEvent+"')"; } %> <uix:renderingContext id="renderingContext"> <uix:bundle name="OIDAppCtxtMsg" class="oracle.sysman.db.rsc.sec.OIDAppCtxtMsg"/> <uix:bundle name="dbMsgs" class="oracle.sysman.db.rsc.DBObjectMsg"/> <uix:bundle name="olsMsgs" class="oracle.sysman.db.rsc.sec.OLSOIDMsg"/> <uix:bundle name="eusMsgs" class="oracle.sysman.db.rsc.sec.EUSMsg"/> <oem:setURLEncoder id="renderingContext"/> <uix:document> <%@ include file="/oemTitle.jspf" %> <uix:metaContainer> <uix:head title="<%=oemTitle%>"/> </uix:metaContainer> <uix:body> <uix:form name="form0" method="POST" destinationBinding="FORM_DESTINATION_URL@servletRequest"> <uix:formValue name="<%=ParameterNames.PAGE_NAME%>" valueBinding="pageName@servletRequest"/> <uix:script text="function cancel() { top.window.close(); } function submitMainForm(sFormEvent) { var iNumberOfCheckBoxes=0; var iCheckBoxCount=0; var sCheckBoxNamePrefix='OID_APP_CTXT_AVAILABLE_DOMAINS_DATASOURCE:selected'; var sToBeAddedSubComponentsIndexes=''; var iSelectedCheckBoxCount=0; var sCurrentFormURL=''; for(var i=0;i<document.forms[0].elements.length;i++) { var sElemenetName=document.forms[0].elements[i].name; var sCheckBoxName=sCheckBoxNamePrefix; if(sCheckBoxName==sElemenetName) { if(document.forms[0].elements[i].checked) { sToBeAddedSubComponentsIndexes=document.forms[0].elements[i].value; } } } top.window.opener.document.forms[0].OID_APP_CTXT_SELECTED_DOMAIN_INDEX.value=sToBeAddedSubComponentsIndexes; if(top.window.opener.document.forms[0].OID_APP_CTXT_SELECTED_DOMAIN_INDEX.value != '') { sCurrentFormURL=top.window.opener.document.forms[0].action; sCurrentFormURL=sCurrentFormURL+'?event='+sFormEvent; top.window.opener.document.forms[0].action=sCurrentFormURL; top.window.opener.document.forms[0].submit(); top.window.close(); } else { top.window.close(); } }" /> <uix:pageLayout titleBinding="OID_APP_CTXT_ALL_DOMAINS_PAGE_TITLE@OIDAppCtxtMsg"> <uix:tableLayout width="100%" cellPadding="3" cellSpacing="3"> <uix:rowLayout hAlign="right"> <uix:cellFormat columnSpan="2"> <uix:pageButtonBar> <uix:contents> <uix:button textBinding="OID_APP_CTXT_CANCEL_TXT@OIDAppCtxtMsg" shortDescBinding="OID_APP_CTXT_CANCEL_TXT@OIDAppCtxtMsg" onClick="cancel()"/> <uix:button textBinding="OID_APP_CTXT_SELECT_TXT@OIDAppCtxtMsg" shortDescBinding="OID_APP_CTXT_SELECT_TXT@OIDAppCtxtMsg" onClick="<%=sSubmitFormJS%>"/> </uix:contents> </uix:pageButtonBar> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> <uix:tableLayout width="100%" cellSpacing="5"> <uix:rowLayout> <uix:dataScope currentDataBinding="OID_APP_CTXT_AVAILABLE_DOMAINS_DATASOURCE@servletRequest"> <uix:table width="100%" name="OID_APP_CTXT_AVAILABLE_DOMAINS_DATASOURCE" alternateTextBinding="EUS_NO_ITEMS_FOUND_TEXT@eusMsgs" tableDataBinding="rowData" minValue="1" formSubmitted="true" valueBinding="<%= UIXDataSource.S_START_INDEX_ATTR %>" blockSizeBinding="<%= UIXDataSource.S_BLOCK_SIZE_ATTR %>" maxValueBinding="<%= UIXDataSource.S_NUM_ROWS_ATTR %>" shortDescBinding="OID_APP_CTXT_DOMAIN_TXT@OIDAppCtxtMsg" summaryBinding="OID_APP_CTXT_DOMAIN_TXT@OIDAppCtxtMsg"> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="OID_APP_CTXT_DOMAIN_TXT@OIDAppCtxtMsg" sortable="true"/> </uix:columnHeader> <uix:columnFormat columnDataFormat="textFormat" /> <uix:styledText textBinding="OID_APP_CTXT_DOMAIN_NAME" /> </uix:column> <uix:tableSelection> <uix:singleSelection selectedIndex="0" shortDescBinding="OID_APP_CTXT_SELECT_TXT@OIDAppCtxtMsg" textBinding="OID_APP_CTXT_SELECT_TXT@OIDAppCtxtMsg"> </uix:singleSelection> </uix:tableSelection> </uix:table> </uix:dataScope> </uix:rowLayout> </uix:tableLayout> <uix:tableLayout width="100%" cellPadding="3" cellSpacing="3"> <uix:rowLayout hAlign="right"> <uix:cellFormat columnSpan="2"> <uix:pageButtonBar> <uix:contents> <uix:button shortDescBinding="OID_APP_CTXT_CANCEL_TXT@OIDAppCtxtMsg" textBinding="OID_APP_CTXT_CANCEL_TXT@OIDAppCtxtMsg" onClick="cancel()"/> <uix:button shortDescBinding="OID_APP_CTXT_SELECT_TXT@OIDAppCtxtMsg" textBinding="OID_APP_CTXT_SELECT_TXT@OIDAppCtxtMsg" onClick="<%=sSubmitFormJS%>"/> </uix:contents> </uix:pageButtonBar> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:pageLayout> </uix:form> </uix:body> </uix:document> </uix:renderingContext>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de