<%@ 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.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.HashMap"%> <%@ page import="oracle.sysman.emo.util.UIXDataSource"%> <% EUSSubComponentType selectedSubComponentType=(EUSSubComponentType)request.getAttribute(EUSConstants.SUB_COMPONENT_TYPE); EUSComponentType componentType = ((EUSComponent)request.getAttribute(EUSConstants.EUS_COMPONENT_CACHED_OBJECT)).getType(); int iEUSComponentType=componentType.getType(); ResourceBundle eusBundle=NLSUtil.getBundle(EUSMsg.class.getName(), request); String sFormDestinationURL=(String)request.getAttribute(EUSConstants.EUS_BASE_URL_TO_COMPONENT); String sUrl=sFormDestinationURL+"&event="+EUSConstants.EUS_GET_ADDITIONAL_SUB_COMPONENTS ; String sFinalUrl=request.getContextPath()+sUrl+"&SUB_COMPONENT_TYPE="+selectedSubComponentType+"&_em.coIFR=true"; //String sButtonAction="window.open('"+sFinalUrl+"','','menubar=no,location=no,resizable=no,scrollbars=no,status=no,width=650, height=450')"; String sButtonAction="openWindow(window, '"+sFinalUrl+"', 'lovWindow',{width:700, height:600},true, 'dialog','')"; String sDSSummaryText=eusBundle.getString("DS_SUMMARY_TXT_FOR_SUBCOMP_"+selectedSubComponentType.getType()+"_IN_COMP_"+iEUSComponentType); String sSelectionModeDropBoxName="selectionMode_"+ iEUSComponentType +"_"+selectedSubComponentType.getType(); String sSelectionModeDropBoxSelVal="0"; if(request.getAttribute(sSelectionModeDropBoxName) != null) sSelectionModeDropBoxSelVal=(String)request.getAttribute(sSelectionModeDropBoxName); String sSelModeDestinationURLPrefix = request.getContextPath()+ EUSConstants.EUS_BASE_URL_TO_COMPONENT_PAGE_SUFFIX + iEUSComponentType + EUSConstants.EUS_BASE_URL_TO_COMPONENT_PAGE_PREFIX ; String sSelModeDestinationURLSuffix = "&event="+EUSConstants.EUS_CONFIGURE_COMPONENT_PAGE; String sSelModeDestinationURL=sSelModeDestinationURLPrefix+selectedSubComponentType.getType()+sSelModeDestinationURLSuffix; String sSelectionModeChangeJS="submitMainForm('"+sSelModeDestinationURL+"')"; %> " onClick="<%=sButtonAction%>" shortDesc="<%=eusBundle.getString(\"EUS_ADD_TEXT\")%>" /> <% int iColCount = ((Integer)((Map)EUSSubComponentsDataSourceConstants.NUM_COLS_EUS_SUBCOMPONENT.get(EUSSubComponentsDataSourceConstants.NUM_COLS_EUS_SUBCOMPS_IN_COMP_STR+componentType.getType())).get(EUSSubComponentsDataSourceConstants.NUM_COLS_EUS_SUB_COMP_STR+selectedSubComponentType.getType())).intValue(); for(int i=0;i <% } else { if(i==0) { %> <% } else { %> <% } } } %> <% UIXDataSource dataSource=(UIXDataSource)request.getAttribute("EUS_SUB_COMPONENTS_DATASOURCE"); if(dataSource != null && dataSource.getRowCount() > 0) { %> " shortDesc="<%=eusBundle.getString(\"EUS_VIEW_TEXT\")%>" /> " shortDesc="<%=eusBundle.getString(\"EUS_REMOVE_TEXT\")%>"/> " shortDesc="<%=eusBundle.getString(\"EUS_REMOVE_TEXT\")%>"/> <% } %>