/* Automatically generated.
 * Copyright (c) 2000 by SAP AG, Walldorf.,
 * http://www.sap.com
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of SAP AG, Walldorf. You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms
 * of the license agreement you entered into with SAP.
 * Do not edit.
 */

package web;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import ro.emid.common.bind.BindError;
import ro.emid.common.constants.AppConstants;


public class tag_bind_2d_messages_1875650_1758654583546
	extends javax.servlet.jsp.tagext.SimpleTagSupport
{




	private JspContext jspContext;
	private java.io.Writer _jspx_sout;
	private java.util.List messages;


	public java.util.List getMessages() {
		return this.messages;
	}
	public void setMessages(java.util.List messages) {
		this.messages = messages;
	}
	public void setJspContext(JspContext ctx) {
		super.setJspContext(ctx);
		java.util.ArrayList _jspx_nested = null;
		java.util.ArrayList _jspx_at_begin = null;
		java.util.ArrayList _jspx_at_end = null;
		this.jspContext = new com.sap.engine.services.servlets_jsp.lib.jspruntime.JspContextWrapper(ctx, _jspx_nested, _jspx_at_begin, _jspx_at_end, null);
	}

	public JspContext getJspContext() {
		return this.jspContext;
	}

	public void doTag() throws JspException, java.io.IOException {
		com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl _jspx_pageContext = (com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl)jspContext;
		HttpServletRequest request = (HttpServletRequest) _jspx_pageContext.getRequest();
		HttpServletResponse response = (HttpServletResponse) _jspx_pageContext.getResponse();
		HttpSession session = _jspx_pageContext.getSession();
		ServletContext application = _jspx_pageContext.getServletContext();
		ServletConfig config = _jspx_pageContext.getServletConfig();
		JspWriter out = jspContext.getOut();
		com.sap.engine.services.servlets_jsp.server.application.InjectionWrapper _jspx_resourceInjector = ((com.sap.engine.services.servlets_jsp.server.application.ServletContextImpl)_jspx_pageContext.getServletContext()).getApplicationContext().getInjectionWrapper();


		if( getMessages() != null ) {
			_jspx_pageContext.setAttribute("messages", getMessages());
		}
		try {
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(1,31);to=(2,0)]
			out.print("\r\n");
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(2,49);to=(3,0)]
			out.print("\r\n");
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(3,57);to=(4,0)]
			out.print("\r\n");
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(4,89);to=(6,0)]
			out.print("\r\n\r\n");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(6,0);to=(6,29)]
			 if( messages != null) { 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(6,29);to=(9,4)]
			out.print("\r\n<fieldset style=\"width:95%; margin:10px\">\r\n    <legend style=\"font-weight: bold;\">V\u0103 rug\u0103m s\u0103 verifica\u0163i datele \356ntroduse :</legend>\r\n    ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(9,4);to=(9,39)]
			 for (Object item : messages){ 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(9,39);to=(10,4)]
			out.print("\r\n    ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(10,4);to=(10,50)]
			  BindError bindError = (BindError) item; 
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(10,50);to=(11,31)]
			out.print("\r\n        <div onclick=\"jQuery(\'#");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(11,31);to=(11,63)]
			out.print(bindError.getPropertyName());
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(11,63);to=(12,12)]
			out.print("\').focus()\" class=\"bind-error\">\r\n            ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(12,12);to=(12,71)]
			out.print(AppConstants.formatSimple(bindError.getErrorMessage()));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(12,71);to=(16,25)]
			out.print("\r\n        </div>\r\n        <script>\r\n            jQuery(function(){\r\n                jQuery(\"#");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(16,25);to=(16,57)]
			out.print(bindError.getPropertyName());
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(16,57);to=(18,40)]
			out.print("\")\r\n                        .addClass(\"bind-field-error\")\r\n                        .attr(\'title\', \'");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(18,40);to=(18,99)]
			out.print(AppConstants.formatSimple(bindError.getErrorMessage()));
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(18,99);to=(22,4)]
			out.print("\')\r\n                ;\r\n            });\r\n        </script>\r\n    ");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(22,4);to=(22,9)]
			}
// end
// HTML // begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(22,9);to=(24,0)]
			out.print("\r\n</fieldset>\r\n");
// end
// begin [file="D:/usr/sap/QOR/J00/j2ee/cluster/apps/JavaEE/emid-callcenter/servlet_jsp/emid-callcenter/root/WEB-INF/tags/bind-messages.tag";from=(24,0);to=(24,7)]
			 } 
// end

		} catch(Throwable t) {
			if(t instanceof SkipPageException)
				throw (SkipPageException) t;
			if(t instanceof java.io.IOException)
				throw (java.io.IOException) t;
			if(t instanceof IllegalStateException)
				throw (IllegalStateException) t;
			if(t instanceof JspException)
				throw (JspException) t;
			throw new JspException(t);
		} finally {
			((com.sap.engine.services.servlets_jsp.lib.jspruntime.JspContextWrapper)jspContext).syncEndTagFile();
		}
	}
}
