<%@ 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.cabo.ui.data.BundleDataObject"%> <%@ 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.EUSSubComponentsDataSourceConstants"%> <%@ page import="oracle.sysman.emo.adm.security.eus.EUSSubComponentsDataSource"%> <%@ page import="oracle.sysman.emo.adm.security.eus.EUSComponent"%> <%@ page import="oracle.sysman.emo.adm.security.eus.EUSComponentType"%> <%@ page import="oracle.sysman.emo.adm.security.eus.EUSSubComponentType"%> <%@ page import="java.util.ResourceBundle"%> <%@ 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"%> <%@ page import="oracle.sysman.emo.util.UIXDataSource"%> <%@ page import="oracle.sysman.db.adm.ParameterNames"%> <% String sFormDestinationURL=(String)request.getAttribute(EUSConstants.EUS_BASE_URL_TO_COMPONENT); String sEvent=""; if(request.getAttribute("SUB_COMPONENT_EVENT") != null) sEvent=(String)request.getAttribute("SUB_COMPONENT_EVENT"); String sFinalUrl=request.getContextPath()+sFormDestinationURL+"&event="+sEvent+"&subevent=addUser"; String sAddUserJSFunction="submitMainForm('"+sFinalUrl+"')"; String sSearchUrl=request.getContextPath()+sFormDestinationURL+"&event="+sEvent+"&subevent=getUsers"; String sSearchUserJSFunction="submitCurrentForm('"+sSearchUrl+"')"; request.setAttribute("eusBundle", new BundleDataObject(NLSUtil.getBundle(EUSMsg.class.getName(), request))); String dbVersion = (String)request.getAttribute("DBVERSION"); ResourceBundle eusBundle=NLSUtil.getBundle(EUSMsg.class.getName(), request); String sPageTitle=eusBundle.getString("SELECT_EUS_USER_GROUP_TEXT"); EUSSubComponentType fromRequestSubComponentType=null; String sFRomRequestSubComponentTYpe="0"; if(request.getAttribute(EUSConstants.SUB_COMPONENT_TYPE) != null) { fromRequestSubComponentType=(EUSSubComponentType) request.getAttribute(EUSConstants.SUB_COMPONENT_TYPE); sFRomRequestSubComponentTYpe=String.valueOf(fromRequestSubComponentType.getType()); } EUSComponentType fromRequestComponentType=null; String sFRomRequestComponentTYpe="0"; if(request.getAttribute(EUSConstants.EUS_COMPONENT_TYPE) != null) { fromRequestComponentType=(EUSComponentType) request.getAttribute(EUSConstants.EUS_COMPONENT_TYPE); sFRomRequestComponentTYpe=String.valueOf(fromRequestComponentType.getType()); } String sCurrentJSP="/database/security/eus/eususersgroupssearchbaseslov"; %> <%@ include file="/oemTitle.jspf" %> " shortDesc="<%=eusBundle.getString(\"EUS_CANCEL_TEXT\")%>" onClick="cancel()"/> " shortDesc="<%=eusBundle.getString(\"EUS_SELECT_TEXT\")%>" onClick="<%=sAddUserJSFunction%>"/> <% if(request.getAttribute("USER_GROUP_SEARCH_PROPERTIES") != null) { Map additionalSearchProperties=(Map)request.getAttribute("USER_GROUP_SEARCH_PROPERTIES"); Set keySet=additionalSearchProperties.keySet(); Map additionalSearchPropertiesValue=new HashMap(); if(request.getAttribute("USER_GROUP_SEARCH_PROPERTIES_VALUE") != null) additionalSearchPropertiesValue=(Map)request.getAttribute("USER_GROUP_SEARCH_PROPERTIES_VALUE"); Iterator iterator=keySet.iterator(); while(iterator.hasNext()) { String sKey=(String)iterator.next(); Object obj=additionalSearchProperties.get(sKey); Object objValue=""; if(additionalSearchPropertiesValue != null && additionalSearchPropertiesValue.get(sKey) != null) objValue=additionalSearchPropertiesValue.get(sKey); if(obj instanceof java.util.List) { %> <% List databases=(List)obj; for(int i=0;i <% } %> <% } else if(obj==null) { %> <% } } %> " shortDesc="<%=eusBundle.getString(\"EUS_SEARCH_TEXT\")%>"/> <% } %> <% String sDisplayNameKey="USER_GROUP_NAME"; //String sDisplayNameKey="SUBCOMP_106_COMP_3_COL0"; String sDisplayName = eusBundle.getString(sDisplayNameKey); //String sDisplayName = "Name"; %> " shortDesc="<%=eusBundle.getString(\"EUS_CANCEL_TEXT\")%>" onClick="cancel()"/> " shortDesc="<%=eusBundle.getString(\"EUS_SELECT_TEXT\")%>" onClick="<%=sAddUserJSFunction%>"/>