<%@ 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); String sComponentType = (String)request.getAttribute(EUSConstants.EUS_COMPONENT_TYPE); String sFormDestinationURL=(String)request.getAttribute(EUSConstants.EUS_BASE_URL_TO_COMPONENT); ResourceBundle eusBundle=NLSUtil.getBundle(EUSMsg.class.getName(), request); int iEUSComponentType=Integer.parseInt(sComponentType); String sSubComponentEvent=(String)request.getAttribute("SUB_COMPONENT_EVENT"); request.setAttribute("SUB_COMPONENT_EVENT",sSubComponentEvent); String sFinalUrl=request.getContextPath()+sFormDestinationURL+"&event="+sSubComponentEvent+"&subevent=fetchadditionalsearchpage&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 sRemoveUrl=request.getContextPath()+sFormDestinationURL+"&event="+sSubComponentEvent+"&subevent=remove&SUB_COMPONENT_TYPE="+selectedSubComponentType; String sRemoveJSFunction="submitMainForm('"+sRemoveUrl+"')"; String sViewUrl=request.getContextPath()+sFormDestinationURL+"&event="+sSubComponentEvent+"&subevent=view&SUB_COMPONENT_TYPE="+selectedSubComponentType; String sViewJSFunction="submitMainForm('"+sViewUrl+"')"; String sDSSummaryText=eusBundle.getString("DS_SUMMARY_TXT_FOR_SUBCOMP_"+selectedSubComponentType.getType()+"_IN_COMP_"+iEUSComponentType); %> " 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+iEUSComponentType)).get(EUSSubComponentsDataSourceConstants.NUM_COLS_EUS_SUB_COMP_STR+selectedSubComponentType.getType())).intValue(); for(int i=0;i <% } %> <% UIXDataSource dataSource=(UIXDataSource)request.getAttribute("EUS_BUILDING_BLOCKS_DATASOURCE"); if(dataSource != null && dataSource.getRowCount() > 0) { %> " shortDesc="<%=eusBundle.getString(\"EUS_REMOVE_TEXT\")%>" /> <% } %>