<%@ 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(); String onChangeURL=""; if(iComponentType==1) onChangeURL=request.getContextPath()+EUSConstants.EUS_URL_TO_USERS_GROUPS_COMPONENTS_MAIN_PAGE+"2"; else if(iComponentType==2) onChangeURL=request.getContextPath()+EUSConstants.EUS_URL_TO_USERS_GROUPS_COMPONENTS_MAIN_PAGE+"1"; String sSearchURL=request.getContextPath()+EUSConstants.EUS_URL_TO_COMPONENTS_MAIN_PAGE+iComponentType; ResourceBundle eusBundle=NLSUtil.getBundle(EUSMsg.class.getName(), request); if(request.getAttribute(EUSConstants.EUS_COMPONENTS_SEARCH_PROPERTIES) != null) { Map additionalSearchProperties=(Map)request.getAttribute(EUSConstants.EUS_COMPONENTS_SEARCH_PROPERTIES); Map additionalSearchPropertiesValue = new HashMap(); if(request.getAttribute(EUSConstants.EUS_COMPONENTS_SEARCH_PROPERTIES_WITH_VALUES) != null) additionalSearchPropertiesValue=(Map)request.getAttribute(EUSConstants.EUS_COMPONENTS_SEARCH_PROPERTIES_WITH_VALUES); Set keySet=additionalSearchProperties.keySet(); 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) { %> <% String sSubmitOnChangeJS="submitMainForm('"+onChangeURL+"')";%> <% List databases=(List)obj; for(int i=0;i <% } %> <% } else if(obj==null || obj instanceof java.lang.String) { String sTextValue=(obj==null ? "" : String.valueOf(obj)); %> <% } } %> <% String sSubmitSearchJS="submitMainForm('"+sSearchURL+"')";%> " onClick="<%=sSubmitSearchJS%>" text="<%=eusBundle.getString(\"EUS_SEARCH_TEXT\")%>" /> <% } %>