/* 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.GlobalAppConstants;
import ro.emid.common.types.LucrareProgramata;
import ro.emid.common.types.binder.LucrareProgramataBinder;
import ro.emid.common.constants.*;

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

public class JEE_jsp_dc5ef961cb721889230e7c50bf47885e4a9ddcb7_afterSaveInstalatiiAfectateLP_1471595256569 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-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateLP.jsp";from=(1,64);to=(2,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateLP.jsp";from=(2,59);to=(3,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateLP.jsp";from=(3,72);to=(4,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateLP.jsp";from=(4,47);to=(6,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateLP.jsp";from=(6,0);to=(10,2)]
			
    final LucrareProgramataBinder binder = (LucrareProgramataBinder) session.getAttribute(LucrareProgramataConstants.BINDER);
    final LucrareProgramata bean = (binder != null ? (LucrareProgramata) binder.getBean() : new LucrareProgramata());
    final int nrLfSelected = (bean.getInstalatiiAfectate() != null ? bean.getInstalatiiAfectate().size() : 0);

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateLP.jsp";from=(10,2);to=(14,58)]
			out.print("\r\n\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-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateLP.jsp";from=(14,58);to=(14,112)]
			out.print(AppConstants.format2( bean.getEnergieNelivrata()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateLP.jsp";from=(14,112);to=(15,53)]
			out.print(" );\r\n    window.parent.window.opener.setTotalconsumatori( ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateLP.jsp";from=(15,53);to=(15,115)]
			out.print(AppConstants.format2( bean.getTotalUtilizatoriAfectati()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateLP.jsp";from=(15,115);to=(16,63)]
			out.print(");\r\n    window.parent.window.opener.setConsumatoriPeNivelTensiune( ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateLP.jsp";from=(16,63);to=(16,114)]
			out.print(AppConstants.format2( bean.getUtilizatoriIT()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateLP.jsp";from=(16,114);to=(16,116)]
			out.print(", ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateLP.jsp";from=(16,116);to=(16,167)]
			out.print(AppConstants.format2( bean.getUtilizatoriMT()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateLP.jsp";from=(16,167);to=(16,169)]
			out.print(", ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateLP.jsp";from=(16,169);to=(16,220)]
			out.print(AppConstants.format2( bean.getUtilizatoriJT()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateLP.jsp";from=(16,220);to=(16,222)]
			out.print(", ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateLP.jsp";from=(16,222);to=(16,239)]
			out.print(nrLfSelected);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/common/browse/instalatii/afterSaveInstalatiiAfectateLP.jsp";from=(16,239);to=(18,9)]
			out.print(");\r\n    window.parent.window.close();\r\n</script>");
// 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);
		}
	}

}
