<%@ 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.sysman.db.rsc.sec.OIDAppCtxtMsg"%> <%@ page import="oracle.sysman.emo.adm.security.appctxt.OIDAppCtxtConstants"%> <%@ page import="oracle.cabo.ui.data.BundleDataObject"%> <%@ 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"%> <% ResourceBundle oidAppCtxtBundle=NLSUtil.getBundle(OIDAppCtxtMsg.class.getName(), request); boolean bFormFieldsReadOnly=true; String sStatus=(String)request.getAttribute(OIDAppCtxtConstants.OID_APP_CTXT_ATTRIBUTE_STATUS); String sAttributeName=""; if(request.getAttribute("OID_APP_CTXT_SELECTED_ATTRIBUTE_NAME") != null) sAttributeName = (String) request.getAttribute("OID_APP_CTXT_SELECTED_ATTRIBUTE_NAME"); if(sStatus.equals(OIDAppCtxtConstants.OID_APP_CTXT_INSERT_STATUS)) bFormFieldsReadOnly=false; String sPageTitle=""; if(bFormFieldsReadOnly) sPageTitle= oidAppCtxtBundle.getString("OID_APP_CTXT_EDIT_ATTRIBUTE_TITLE") + sAttributeName; else sPageTitle= oidAppCtxtBundle.getString("OID_APP_CTXT_ADD_ATTRIBUTE_TITLE") + sAttributeName; StringBuffer oemTitle = (StringBuffer)request.getAttribute("_emSDK_PageTitle"); oemTitle.append(" - "); oemTitle.append(sPageTitle); %> <%@ include file="/oemTitle.jspf" %> <% if(bFormFieldsReadOnly) { %> <% } %> <%@ include file="/enablePPR.jspf" %> <%@ include file="/oemGlobal.jspf" %> <%@ include file="/database/security/common/entdbseclogout.jspf" %> <% if(bFormFieldsReadOnly) { %> <% } else { %> <% } %> <% UIXDataSource dataSource=(UIXDataSource)request.getAttribute("OID_APP_CTXT_AVAILABLE_ATTRIBUTE_VALUES_DS"); if(dataSource != null && dataSource.getRowCount() > 0) { %> <% } %> <% String sAppCtxtStatus =""; String sApplicationContextName=""; if(request.getAttribute(OIDAppCtxtConstants.OID_APP_CTXT_STATUS) != null) sAppCtxtStatus=(String)request.getAttribute(OIDAppCtxtConstants.OID_APP_CTXT_STATUS); if(request.getAttribute("Application_Context_Name") != null) sApplicationContextName=(String)request.getAttribute("Application_Context_Name"); String sBreadCrumbDisplayName=""; String sBreadCrumbDisplayUrl=""; if(sAppCtxtStatus.equals(OIDAppCtxtConstants.OID_APP_CTXT_INSERT_STATUS)) sBreadCrumbDisplayName=oidAppCtxtBundle.getString("OID_APP_CTXT_INSERT_PAGE_TITLE") + sApplicationContextName; else sBreadCrumbDisplayName=oidAppCtxtBundle.getString("OID_APP_CTXT_EDIT_PAGE_TITLE") + sApplicationContextName; if(request.getAttribute("FORM_DESTINATION_URL") != null) { sBreadCrumbDisplayUrl=(String)request.getAttribute("FORM_DESTINATION_URL"); } if(sBreadCrumbDisplayUrl.equals("")==false) { sBreadCrumbDisplayUrl=sBreadCrumbDisplayUrl+"?event=OID_APP_CTXT_CANCEL_ADD_ATTRIBUTE"; } if(sBreadCrumbDisplayName.equals("")==false && sBreadCrumbDisplayUrl.equals("")==false ) { %> <% } %>