%@ page language="java" contentType="text/plain; charset=UTF-8"%>
<%@ page import="com.edeal.frontline.navigation.FlRequest" %>
<%@ page import="com.edeal.frontline.grid.*" %>
<%@ page import="com.edeal.frontline.FrontlineException" %>
<%@ page import="com.edeal.frontline.Utils" %>
<%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %>
<%
final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass());
FlRequest flRequest = new FlRequest(request);
String popType = (String)flRequest.getAttribute("PopType");
Number nbTot = (Number)flRequest.getAttribute("NbTot");
Number nbCreated = (Number)flRequest.getAttribute("NbCreated");
Number nbUpdated = (Number)flRequest.getAttribute("NbUpdated");
Number nbErrors = (Number)flRequest.getAttribute("NbErrors");
StringBuffer message = new StringBuffer();
message.append(nbTot != null ? nbTot.intValue() : 0);
message.append(" ");
message.append(Utils.getMessage(session, "L639A", true, "entrées demandées"));
message.append("\\n\\t ");
message.append(nbCreated != null ? nbCreated.intValue() : 0);
message.append(" ");
message.append(Utils.getMessage(session, "L6398", true, "entrées ajoutées"));
message.append("\\n\\t ");
message.append(nbUpdated != null ? nbUpdated.intValue() : 0);
message.append(" ");
message.append(Utils.getMessage(session, "L63BB", true, "entrées déjà existantes"));
message.append("\\n\\t ");
message.append(nbErrors != null ? nbErrors.intValue() : 0);
message.append(" ");
message.append(Utils.getMessage(session, "L6399", true, "entrées en erreur"));
%>
window.alert('<%= message.toString() %>');
window.opener.location = '" list="true"/>';
setTimeout(closeWindow, 500);