<%-- /* $Header: txnErrors.jsp 16-mar-2007.10:48:53 andyao Exp $ */ /* Copyright (c) 2001, 2007, Oracle. All rights reserved. */ /* DESCRIPTION NOTES MODIFIED (MM/DD/YY) andyao 07/24/05 - add error id andyao 03/16/05 - add confirmation/warning afontana 12/14/04 - add validation error pmadyalk 09/15/04 - pmadyalk_txn_r2_1 pmadyalk 21/08/04 - created. */ /** * @version $Header: txnErrors.jsp 16-mar-2007.10:48:53 andyao Exp $ * @author pmadyalk * @since release specific (what release of product did this appear in) */ --%> <%@ page import='java.util.Hashtable' %> <%@ page import="oracle.sysman.eml.gensvc.GenSvcUIConstants" %> <% String hasMessage = "none"; Hashtable errorsInfo = null; String mainText = ""; String titleText = ""; String messageType = ""; errorsInfo = (Hashtable)request.getAttribute("errors"); if (errorsInfo != null) { titleText = (String)errorsInfo.get("titleText"); mainText = (String)errorsInfo.get("mainText"); messageType = "error"; if ((titleText != null) && (mainText != null)) { hasMessage = "hasMessage"; } } else { errorsInfo = (Hashtable)request.getAttribute("confirmation"); if (errorsInfo != null) { titleText = (String)errorsInfo.get("titleText"); mainText = (String)errorsInfo.get("mainText"); messageType = "confirmation"; if ((titleText != null) && (mainText != null)) { hasMessage = "hasMessage"; } } else { errorsInfo = (Hashtable)request.getAttribute("info"); if (errorsInfo != null) { titleText = (String)errorsInfo.get("titleText"); mainText = (String)errorsInfo.get("mainText"); messageType = "info"; if ((titleText != null) && (mainText != null)) { hasMessage = "hasMessage"; } } } } %>