Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\database\security\appctxt\oidappctxtmainpage.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.sysman.emo.adm.security.appctxt.OIDAppCtxtConstants"%> <%@ 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); String sFormDestinationURL=(String)request.getAttribute(OIDAppCtxtConstants.FORM_DESTINATION_URL_TXT); String sAllDomainsLOVURL=request.getContextPath()+sFormDestinationURL+"?event="+OIDAppCtxtConstants.OID_APP_CTXT_GET_DOMAINS_EVENT+"&FROM_PAGE=MAIN_PAGE"; String sAllDomainsAction="openWindow(window, '"+sAllDomainsLOVURL+"', 'lovWindow',{width:700, height:600},true, 'dialog','')"; //String sAllDomainsAction="window.open('"+sAllDomainsLOVURL+"','','menubar=no,location=no,resizable=no,scrollbars=no,status=no,width=650, height=450')"; StringBuffer oemTitle = (StringBuffer)request.getAttribute("_emSDK_PageTitle"); oemTitle.append(" - "); oemTitle.append(oidAppCtxtBundle.getString("OID_APP_CTXT_MAIN_PAGE_TITLE")); %> <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:formValue name="OID_APP_CTXT_SELECTED_DOMAIN_INDEX" value=""/> <uix:formValue name="OID_APP_CTXT_IS_CONFIRMED_DELETE" value="false"/> <uix:pageLayout titleBinding="OID_APP_CTXT_MAIN_PAGE_TITLE@OIDAppCtxtMsg"> <%@ include file="/enablePPR.jspf" %> <%@ include file="/oemGlobal.jspf" %> <%@ include file="/database/security/common/entdbseclogout.jspf" %> <oem:messageBox messageType="error" errorTableBinding="errors@servletRequest" titleTextKey="titleText" mainTextKey="mainText"/> <oem:messageBox messageType="info" errorTableBinding="info@servletRequest" titleTextKey="titleText" mainTextKey="mainText"/> <uix:tableLayout width="100%" cellPadding="1" cellSpacing="1"> <uix:rowLayout> <uix:cellFormat vAlign="top" width="65%"> <uix:header textBinding="OID_APP_CTXT_MAIN_PAGE_SEARCH@OIDAppCtxtMsg" > <uix:tableLayout width="100%" cellPadding="1" cellSpacing="1"> <uix:rowLayout width="100%"> <uix:cellFormat columnSpan="3"> <uix:formattedText styleUsage="instruction" textBinding="OID_APP_CTXT_MAIN_PAGE_SEARCH_INS_TXT@OIDAppCtxtMsg"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat hAlign="right"> <uix:styledText styleClass="OraInstructionText" textBinding="OID_APP_CTXT_DOMAIN_TXT@OIDAppCtxtMsg" labeledNodeId="OID_APP_CTXT_DOMAIN_NAME"/> </uix:cellFormat> <uix:cellFormat hAlign="left" columnSpan="2"> <uix:messageLovField onClick="<%=sAllDomainsAction%>" id="OID_APP_CTXT_DOMAIN_NAME" name="OID_APP_CTXT_DOMAIN_NAME" shortDescBinding="OID_APP_CTXT_DOMAIN_TXT@OIDAppCtxtMsg" searchDescBinding="OID_APP_CTXT_DOMAIN_TXT@OIDAppCtxtMsg" textBinding="OID_APP_CTXT_SELECTED_DOMAIN_NAME@servletRequest"/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat hAlign="right"> <uix:styledText styleClass="OraInstructionText" textBinding="OID_APP_CTXT_NAME_TXT@OIDAppCtxtMsg" labeledNodeId="OID_APP_CTXT_NAME"/> </uix:cellFormat> <uix:cellFormat hAlign="left" columnSpan="2"> <uix:messageTextInput name = "OID_APP_CTXT_NAME" id = "OID_APP_CTXT_NAME" shortDescBinding="OID_APP_CTXT_NAME_TXT@OIDAppCtxtMsg" textBinding="OID_APP_CTXT_NAME@servletRequest" /> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat width="10%"> <uix:spacer/> </uix:cellFormat> <uix:cellFormat width="40%" hAlign="right"> <uix:submitButton name="event" value="OID_APP_CTXT_SEARCH_CTXTS" textBinding="OID_APP_CTXT_GO_TXT@OIDAppCtxtMsg" shortDescBinding="OID_APP_CTXT_GO_TXT@OIDAppCtxtMsg" /> </uix:cellFormat> <uix:cellFormat width="50%" hAlign="center"> <uix:spacer/> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat columnSpan="3"> <uix:tableLayout width="100%" cellSpacing="1" cellPadding="1"> <uix:rowLayout hAlign="right"> <uix:cellFormat hAlign="right"> <uix:pageButtonBar> <uix:contents> <uix:submitButton name="event" value="OID_APP_CTXT_INSERT_CTXT_LDIF" textBinding="OID_APP_CTXT_MODIFY_USING_LDIF_TXT@OIDAppCtxtMsg" shortDescBinding="OID_APP_CTXT_MODIFY_USING_LDIF_TXT@OIDAppCtxtMsg"/> <uix:submitButton name="event" value="OID_APP_CTXT_INSERT_CTXT_UI" textBinding="OID_APP_CTXT_MAIN_PAGE_INSERT_CTXT_TXT@OIDAppCtxtMsg" shortDescBinding="OID_APP_CTXT_MAIN_PAGE_INSERT_CTXT_TXT@OIDAppCtxtMsg"/> </uix:contents> </uix:pageButtonBar> </uix:cellFormat> </uix:rowLayout> <uix:rowLayout> <uix:cellFormat> <uix:dataScope currentDataBinding="OID_APP_CTXT_AVAILABLE_CTXTS_DATASOURCE@servletRequest"> <uix:table width="100%" name="OID_APP_CTXT_AVAILABLE_CTXTS_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 %>" summaryBinding="OID_APP_CTXT_ALL_CTXTS_DS_SUMMARY_TXT@OIDAppCtxtMsg" shortDescBinding="OID_APP_CTXT_ALL_CTXTS_DS_SUMMARY_TXT@OIDAppCtxtMsg"> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="OID_APP_CTXT_NAME_TXT@OIDAppCtxtMsg" shortDescBinding="OID_APP_CTXT_NAME_TXT@OIDAppCtxtMsg" sortable="true"/> </uix:columnHeader> <uix:columnFormat columnDataFormat="textFormat" /> <uix:link destinationBinding="VIEW_APP_CTXT_URL" textBinding="OID_APP_CTXT_NAME" shortDescBinding="OID_APP_CTXT_NAME"/> </uix:column> <uix:column> <uix:columnHeader> <uix:sortableHeader textBinding="OID_APP_CTXT_DOMAIN_TXT@OIDAppCtxtMsg" shortDescBinding="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:tableActions> <% UIXDataSource dataSource=(UIXDataSource)request.getAttribute("OID_APP_CTXT_AVAILABLE_CTXTS_DATASOURCE"); if(dataSource != null && dataSource.getRowCount() > 0) { %> <uix:pageButtonBar> <uix:contents> <uix:submitButton name="event" value="OID_APP_CTXT_VIEW_CTXT" textBinding="OID_APP_CTXT_VIEW_TXT@OIDAppCtxtMsg" shortDescBinding="OID_APP_CTXT_VIEW_TXT@OIDAppCtxtMsg"/> <uix:submitButton name="event" value="OID_APP_CTXT_EDIT_CTXT" textBinding="OID_APP_CTXT_EDIT_TXT@OIDAppCtxtMsg" shortDescBinding="OID_APP_CTXT_EDIT_TXT@OIDAppCtxtMsg"/> <uix:submitButton name="event" value="OID_APP_CTXT_DELETE_CTXT" textBinding="OID_APP_CTXT_DELETE_TXT@OIDAppCtxtMsg" shortDescBinding="OID_APP_CTXT_DELETE_TXT@OIDAppCtxtMsg"/> </uix:contents> </uix:pageButtonBar> <% } %> </uix:tableActions> </uix:table> </uix:dataScope> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> </uix:header> </uix:cellFormat> <uix:cellFormat vAlign="top"> <uix:contentContainer textBinding="OID_APP_CTXT_OVERVIEW_HEADER_TXT@OIDAppCtxtMsg" shortDescBinding="OID_APP_CTXT_OVERVIEW_HEADER_TXT@OIDAppCtxtMsg" width="100%"> <uix:formattedText textBinding="OID_APP_CTXT_OVERVIEW_TXT@OIDAppCtxtMsg" styleUsage="instruction"/> </uix:contentContainer> </uix:cellFormat> </uix:rowLayout> </uix:tableLayout> <uix:location> <uix:breadCrumbs> <uix:link shortDescBinding="ENTERPRISE_DATABASE_SECURITY@olsMsgs" textBinding="ENTERPRISE_DATABASE_SECURITY@olsMsgs" destination="/console/database/EntDBSec?event=dbLogin"/> <uix:link/> </uix:breadCrumbs> </uix:location> </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