/* Automatically generated.
 * Copyright (c) 2000-2006 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.
 */

import ro.emid.common.constants.AppConstants;
import ro.emid.common.constants.IncidentConstants;
import ro.emid.common.types.Incident;
import ro.emid.incidente.obj.binder.IncidentBinder;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public class JEE_jsp_dc5ef961cb721889230e7c50bf47885e4a9ddcb7_afterSaveInstalatiiAfectateIncident_1495030449161 extends com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase{

	public void _jspService(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
	{
		//isXml=false
		JspFactory  _jspFactory     = JspFactory.getDefaultFactory();
		PageContext pageContext = _jspFactory.getPageContext(this,request,response,null,true,32768,true);
		ServletConfig config = pageContext.getServletConfig();
		ServletContext application = pageContext.getServletContext();
		com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl _jspx_pageContext = (com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl) pageContext;
		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();
		HttpSession session = pageContext.getSession();
		if (!response.isCommitted()) {
		response.setContentType("text/html;charset=UTF-8");
		}
		JspWriter   out     = pageContext.getOut();
		java.lang.Object page = this;
		try {
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateIncident.jsp";from=(1,58);to=(2,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateIncident.jsp";from=(2,63);to=(3,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateIncident.jsp";from=(3,50);to=(4,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateIncident.jsp";from=(4,64);to=(6,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateIncident.jsp";from=(6,0);to=(10,2)]
			
    IncidentBinder binder = (IncidentBinder) session.getAttribute(IncidentConstants.BEAN);
    Incident bean = (binder != null ? (Incident) binder.getBean() : new Incident());
    int nrLfSelected = (bean.getInstalatiiAfectate() !=null ? bean.getInstalatiiAfectate().size() : 0);

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateIncident.jsp";from=(10,2);to=(13,58)]
			out.print("\r\n\r\n<script type=\"text/javascript\">\r\n    window.parent.window.opener.setTotalEnergieNelivrata( ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateIncident.jsp";from=(13,58);to=(13,112)]
			out.print(AppConstants.format2( bean.getEnergieNelivrata()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateIncident.jsp";from=(13,112);to=(14,53)]
			out.print(" );\r\n    window.parent.window.opener.setTotalconsumatori( ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateIncident.jsp";from=(14,53);to=(14,112)]
			out.print(AppConstants.format2( bean.getNrConsumatoriAfectati()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateIncident.jsp";from=(14,112);to=(16,12)]
			out.print(");\r\n    window.parent.window.opener.setConsumatoriPeNivelTensiune(\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateIncident.jsp";from=(16,12);to=(16,64)]
			out.print(AppConstants.format2( bean.getUtilizatori_IT()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateIncident.jsp";from=(16,64);to=(17,12)]
			out.print(",\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateIncident.jsp";from=(17,12);to=(17,64)]
			out.print(AppConstants.format2( bean.getUtilizatori_MT()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateIncident.jsp";from=(17,64);to=(18,12)]
			out.print(",\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateIncident.jsp";from=(18,12);to=(18,64)]
			out.print(AppConstants.format2( bean.getUtilizatori_JT()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateIncident.jsp";from=(18,64);to=(19,12)]
			out.print(",\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateIncident.jsp";from=(19,12);to=(19,29)]
			out.print(nrLfSelected);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateIncident.jsp";from=(19,29);to=(23,0)]
			out.print("\r\n    );\r\n    window.parent.window.close();\r\n</script>\r\n");
// end
		} catch (ThreadDeath tde) { throw tde;
		} catch (OutOfMemoryError ome) { throw ome;
		} catch (Throwable t) {
			if (!(t instanceof SkipPageException)) {
				try {
					out.clear();
				} catch(java.io.IOException _jspioex) {}
				_jspx_pageContext.handlePageException(t);
			}
		}finally{
			_jspFactory.releasePageContext(pageContext);
		}
	}

}
