/* 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.lib.model.InstalatieAfectata;

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

public class JEE_jsp_dc5ef961cb721889230e7c50bf47885e4a9ddcb7_afterSaveLFMaifi_1544805995698 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/afterSaveLFMaifi.jsp";from=(1,58);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/afterSaveLFMaifi.jsp";from=(2,57);to=(4,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/afterSaveLFMaifi.jsp";from=(4,0);to=(10,2)]
			
	InstalatieAfectata[] lfs = (InstalatieAfectata[])request.getAttribute("savedLfs");
	String lfsIds = "";
	for(int i = 0; i < lfs.length; i++) {
		lfsIds += ( lfs[i].getId() + ( i != lfs.length - 1 ? "," : "" ) );
	}

// 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/afterSaveLFMaifi.jsp";from=(10,2);to=(14,12)]
			out.print("\r\n\r\n<script type=\"text/javascript\">\r\n    window.parent.window.opener.setTotalConsumatoriFromBrowse(\r\n            ");
// 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/afterSaveLFMaifi.jsp";from=(14,12);to=(14,54)]
			out.print(request.getAttribute("gradIncarcare"));
// 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/afterSaveLFMaifi.jsp";from=(14,54);to=(15,12)]
			out.print(",\r\n            ");
// 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/afterSaveLFMaifi.jsp";from=(15,12);to=(15,49)]
			out.print(request.getAttribute("consIntr"));
// 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/afterSaveLFMaifi.jsp";from=(15,49);to=(16,12)]
			out.print(",\r\n            ");
// 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/afterSaveLFMaifi.jsp";from=(16,12);to=(16,47)]
			out.print(request.getAttribute("consIt"));
// 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/afterSaveLFMaifi.jsp";from=(16,47);to=(17,12)]
			out.print(",\r\n            ");
// 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/afterSaveLFMaifi.jsp";from=(17,12);to=(17,47)]
			out.print(request.getAttribute("consMt"));
// 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/afterSaveLFMaifi.jsp";from=(17,47);to=(18,12)]
			out.print(",\r\n            ");
// 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/afterSaveLFMaifi.jsp";from=(18,12);to=(18,47)]
			out.print(request.getAttribute("consJt"));
// 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/afterSaveLFMaifi.jsp";from=(18,47);to=(19,12)]
			out.print(",\r\n            ");
// 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/afterSaveLFMaifi.jsp";from=(19,12);to=(19,52)]
			out.print(request.getAttribute("consCasnici"));
// 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/afterSaveLFMaifi.jsp";from=(19,52);to=(20,12)]
			out.print(",\r\n            ");
// 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/afterSaveLFMaifi.jsp";from=(20,12);to=(20,49)]
			out.print(request.getAttribute("consMici"));
// 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/afterSaveLFMaifi.jsp";from=(20,49);to=(21,12)]
			out.print(",\r\n            ");
// 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/afterSaveLFMaifi.jsp";from=(21,12);to=(21,49)]
			out.print(request.getAttribute("consMari"));
// 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/afterSaveLFMaifi.jsp";from=(21,49);to=(23,77)]
			out.print("\r\n    );\r\n\twindow.parent.opener.document.getElementById(\'instalatiiAfectate\').value = \'");
// 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/afterSaveLFMaifi.jsp";from=(23,77);to=(23,88)]
			out.print(lfsIds);
// 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/afterSaveLFMaifi.jsp";from=(23,88);to=(26,0)]
			out.print("\';\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);
		}
	}

}
