<%@ include file="/sdk/oemTop.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.eml.metrics.template.AdminSideNavData"%> <%@ page import="oracle.sysman.emSDK.TargetTypes"%> <%@ page import="oracle.sysman.eml.license.LicenseSetupData"%> <%@ page import="oracle.sysman.eml.admin.rep.AdminResourceBundle"%> <%@ page import="oracle.sysman.resources.CommonResourceBundle"%> <%@ include file="/oemTitle.jspf"%> <%@ include file="/enablePPR.jspf"%> <%@ include file="/oemNoscript.jspf" %> <%@ include file="/oemGlobal.jspf"%> <%@ include file="../../health/header.jsp"%> <%@ include file="/metrics/template/adminSideNav.jspf"%> <% //Iterate to dynamically display the packs column, //since the number of packs can be different for different //target types.Also we have to check the pack that is already //applied for the given target. oracle.sysman.eml.license.LicenseSetupData licenseSetupData = ((oracle.sysman.eml.license.LicenseSetupData)request.getAttribute( "licenseSetupData")); String targetType = licenseSetupData.getTargetType(); String viewOption = oracle.sysman.eml.license.LicenseSetupData.getViewOption(request); if(((targetType.equals(TargetTypes.ORACLE_DATABASE_TARGET_TYPE) || targetType.equals(TargetTypes.ORACLE_IAS_TARGET_TYPE)) && ("option_parent".equals(viewOption)|| viewOption == null)) || ("option_all".equals(viewOption) && licenseSetupData.getShowHost())) { %> <% } java.util.ArrayList packList = licenseSetupData.getPackList(); String pack = null; String disable = null; String na=null; String dest=null; for (int i=0;i< packList.size(); i++) { java.util.Map map = (java.util.HashMap)(packList.get(i)); pack = (String)map.get("text"); disable = pack+"_disable"; na = pack+"_na"; dest=pack+"_dest"; %> <% } %>