<%@page import="com.capgemini.framework.common.SettingsHelper"%>
<%@page import="com.capgemini.framework.common.StringHelper" %>
<%@page import="com.capgemini.reports.database.javabean.enumeration.ReportCriteriaEnum"%>
<%@page import="com.capgemini.reports.database.manager.MngSchedulingCriteriaVal"%>
<%@page import="java.util.Map"%>
<%! final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger("com.capgemini.report.template_r27.jsp"); %>
<%
    /*
     * Available request parameters:
     *	"isUpdateReport"       (boolean)             Is this a submission of a NEW report or an UPDATE?
     *	"idReport"             (long)    <Optional>	 Report Id in case of an UPDATE request
     */
    boolean isDevMode            = SettingsHelper.isDevMode();
    boolean isUpdate = Boolean.valueOf(request.getParameter("isUpdateReport"));
    Long    reportID             = isUpdate ? Long.valueOf(request.getParameter("idReport")) : new Long(-1);

    log.info("**********************");
    log.info("isDevMode            = " + isDevMode);
    log.info("isUpdate             = " + isUpdate);
    log.info("reportID             = " + reportID);

%>

<!-- HTML, will probably be imported right inside a form -->
<table cellspacing="0" cellpadding="3" border="0">
    <tr>
        <td class="tdFieldTitle" colspan="2" style="text-align:center;">
            <br/>
            <div id="loading" style="display:none;">
                <i>Traitement en cours...</i>
                <br/>
                <img src="/kurt-web/ihm/progress.gif" vspace="6" width="129" height="20">
            </div>
        </td>
    </tr>
</table>

<!-- Internal functional Javascript methods (checks etc.) -->
<script type="text/javascript">
    /* Automatic checks before sending the form */
    function checkForm() {
        var isCheckOk = true;
        return isCheckOk;
    }
</script>
