<%@ 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.EUSMsg"%> <%@ page import="oracle.cabo.ui.data.BundleDataObject"%> <%@ page import="oracle.sysman.emo.adm.security.eus.EUSConstants"%> <%@ page import="oracle.sysman.emo.adm.security.eus.EUSComponentsDataSourceConstants"%> <%@ page import="oracle.sysman.emo.adm.security.eus.EUSComponents"%> <%@ page import="oracle.sysman.emo.adm.security.eus.EUSComponentType"%> <%@ 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"%> <% int iComponentType=3; if(request.getAttribute(EUSConstants.EUS_COMPONENT_TYPE) != null) iComponentType=((EUSComponentType)request.getAttribute(EUSConstants.EUS_COMPONENT_TYPE)).getType(); ResourceBundle eusBundle=NLSUtil.getBundle(EUSMsg.class.getName(), request); String sPageTitle = eusBundle.getString("COMPONENT_TYPE_"+iComponentType+"_PAGE_TITLE"); String sInstructionText=eusBundle.getString("COMPONENT_TYPE_"+iComponentType+"_INST_TXT"); String sDSSummaryText=eusBundle.getString("COMPONENT_TYPE_"+iComponentType+"_DS_SUMMARY_TXT"); String sViewButton = eusBundle.getString("COMPONENT_TYPE_" + iComponentType + "_VIEW_BTN"); String sConfigureButton = eusBundle.getString("COMPONENT_TYPE_" + iComponentType + "_CFG_BTN"); String sViewURL=request.getContextPath()+EUSConstants.EUS_URL_TO_VIEW_COMPONENT_PAGE+iComponentType; String sConfigureURl=request.getContextPath()+EUSConstants.EUS_URL_TO_CONFIGURE_COMPONENT_PAGE+iComponentType; String sDeleteURL=request.getContextPath()+EUSConstants.EUS_URL_TO_DELETE_COMPONENT_PAGE+iComponentType; String sCreateURL=request.getContextPath()+EUSConstants.EUS_URL_TO_CREATE_COMPONENT_PAGE+iComponentType; String sCurrentJSP=EUSConstants.EUS_COMPONENTSMAINPAGE_JSP; String sFormURL=EUSConstants.EUS_BASE_URL_TO_COMPONENTS_MAIN_PAGE+iComponentType; String sSearchURL=request.getContextPath()+EUSConstants.EUS_URL_TO_COMPONENTS_MAIN_PAGE+iComponentType; String sDBOIDAuthMechChangeURL=request.getContextPath()+sFormURL+"&event="+EUSConstants.EUS_PAINT_DB_OID_AUTH_MECHANISM_PAGE; String sDBOIDAuthMechanism=""; if(request.getAttribute(EUSConstants.EUS_DB_OID_AUTH_MECHANISM) != null) sDBOIDAuthMechanism=String.valueOf(request.getAttribute(EUSConstants.EUS_DB_OID_AUTH_MECHANISM)); String sSubmitSearchJS="submitMainForm('"+sSearchURL+"')"; StringBuffer oemTitle = (StringBuffer)request.getAttribute("_emSDK_PageTitle"); oemTitle.append(" - "); oemTitle.append(sPageTitle); String sSubmitViewJS="submitMainForm('"+sViewURL+"')"; String sSubmitConfigureJS="submitMainForm('"+sConfigureURl+"')"; String sSubmitDeleteJS="submitMainForm('"+sDeleteURL+"')"; String sSelectionModeDropBoxName="selectionMode_"+ iComponentType; String sSelectionModeDropBoxSelVal="0"; if(request.getAttribute(sSelectionModeDropBoxName) != null) sSelectionModeDropBoxSelVal=(String)request.getAttribute(sSelectionModeDropBoxName); %> <%@ include file="/oemTitle.jspf" %> <%@ include file="/enablePPR.jspf" %> <%@ include file="/oemGlobal.jspf" %> <%@ include file="/database/security/common/entdbseclogout.jspf" %> <% if(iComponentType==5) { %> " shortDesc="<%=eusBundle.getString(\"EUS_DB_OID_AUTH_MECHANISM\")%>"/> <% String sDBOIDAuthMechChangeJS="submitMainForm('"+sDBOIDAuthMechChangeURL+"')";%> " onClick="<%=sDBOIDAuthMechChangeJS%>" shortDesc="<%=eusBundle.getString(\"EUS_CHANGE_TEXT\")%>" /> <% } else { %> <% } %> <% String sSubmitCreateJS="submitMainForm('"+sCreateURL+"')"; String sSelectionModeChangeJS="submitMainForm('"+sSearchURL+"')"; %> <%if(iComponentType==3) { %> " shortDesc="<%=eusBundle.getString(\"EUS_CREATE_TEXT\")%>" /> <% } %> <% int iColCount = ((Integer)EUSComponentsDataSourceConstants.NUM_COLS_EUS_COMPONENT.get(EUSComponentsDataSourceConstants.NUM_COLS_EUS_COMPONENT_STR+iComponentType)).intValue(); int iStartColCount=((iComponentType==1 || iComponentType==2) ? 1 : 0); for(int i=iStartColCount;i <%String sRowURL=sViewURL+"&COMPONENT_NAME="+sDisplayNameKey;%> <% } else { %> <% } } %> <% UIXDataSource dataSource=(UIXDataSource)request.getAttribute("EUS_COMPONENTS_DATASOURCE"); if(dataSource != null && dataSource.getRowCount() > 0) { %> <%if(iComponentType==3) { %> " shortDesc="<%=eusBundle.getString(\"EUS_DELETE_TEXT\")%>" /> <% } } %> <% UIXDataSource dataSource=(UIXDataSource)request.getAttribute("EUS_COMPONENTS_DATASOURCE"); if(dataSource != null && dataSource.getRowCount() > 0 && iComponentType==3) { %> " shortDesc="<%=eusBundle.getString(\"EUS_DELETE_TEXT\")%>" /> <% } %>