First Commit - Source Code from Reply

This commit is contained in:
vincenzofariello
2024-05-13 12:54:14 +02:00
parent 73e32a5020
commit a15aee1f08
11184 changed files with 1065913 additions and 0 deletions

View File

@@ -0,0 +1,112 @@
<html>
<head>
<title>
BloccaSbloccaRichiestaRECIPIENT
</title>
</head>
<%@page import = "mnp.utility.ui.Res"%>
<%@page import = "mnp.objects.result.*, mnp.command.*, java.util.*, mnp.command.BloccoSbloccoRecipient, mnp.objects.StatoRichiestaRec"%>
<jsp:useBean id="resultBean" scope="request" class="java.util.ArrayList"></jsp:useBean>
<%
int op_type = ((Integer)request.getAttribute("op_type")).intValue();
int esito_globale = ((Integer)request.getAttribute("esito_globale")).intValue();
%>
<!-- tabella che include il menu verticale -->
<table width = "100%" class = "tableBannerRosso" border = 0>
<tr>
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
</tr>
</table>
<table width = "100%" >
<tr>
<td width = "10%">
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
</td>
<td align = "right" valign = "top" width = "90%">
<!--fine tabella x menu -->
<br>
<br>
<b><i><P class = "titolo">BLOCCA / SBLOCCA RICHIESTE RECIPIENT</P></i></b>
<!-- titolo della tabella --->
<form name = 'simulaForm' method= 'post' action = '<%=Res.ApplContext%>/ShowEsitoBloccaSbloccaRec.do' onSubmit = 'return checkCampi(this);'>
<br>
<p align = 'left'><font class = 'normaleTab'>Blocca Sblocca Richieste : </font></p>
<table width = '100%' border='1'>
<tr>
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ID RICHIESTA</font></td>
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>STATO</font></td>
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>ESITO</font></td>
</tr>
<%
List result = resultBean;
Iterator iter = result.listIterator();
ModificaRichiesteResult modRicRe;
int iStato = -1;
while (iter.hasNext()) {
modRicRe = (ModificaRichiesteResult)iter.next();
String warnColor = null;
if (modRicRe!= null){
warnColor = modRicRe.getEsito().equalsIgnoreCase("OK")?"tdVerde":"tdRosso";
iStato = Integer.parseInt(modRicRe.getStato());
%>
<tr>
<td class= '<%=warnColor%>' align='center'><input type = 'hidden' name='id_richiesta' value = '<%=modRicRe.getId_richiesta()%>'><font class = 'normaleTab'><%=modRicRe.getId_richiesta()%></font></td>
<td class= '<%=warnColor%>' align='center'><input type = 'hidden' name='stato' value = '<%=modRicRe.getStato()%>'><font class = 'normaleTab'><%=StatoRichiestaRec.getStatoDescr(iStato)%></font></td>
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getEsito()%></font></td>
</tr>
<%}}%>
<tr>
<input type = 'hidden' name='op_type' value = '<%=op_type%>'>
</tr>
</table>
<br>
<!-- Solo nel caso di esito globale positivo mostro TT e DATASBLOCCO e i pulsanti-->
<%if (esito_globale == BloccoSbloccoRecipient.ESITO_GLOBALE_OK){%>
<table width = '100%' border='1' >
<tr>
<td align = 'left' class = 'tdCeleste'><font class = 'normaleTab'>TT</font></td>
<%if(op_type == BloccoSbloccoRecipient.OP_BLOCCO){%>
<td align = 'left' class = 'tdCeleste'><font class = 'normaleTab'>DATA SBLOCCO</font></td>
<%}%>
</tr>
<tr>
<td align = 'left' class = 'tdGiallo'><input type='text' name='TT' value = ''></td>
<%if(op_type == BloccoSbloccoRecipient.OP_BLOCCO){%>
<td align = 'left' class = 'tdGiallo'><input type='text' name='data_sblocco' value = '' onBlur ='checkData(this,this.value)'></td>
<%}%>
</tr>
</table>
<!-- pulsanti -->
<br><br><hr class = "riga">
<table width = "100%">
<tr>
<%if(op_type == BloccoSbloccoRecipient.OP_BLOCCO){%>
<TD ALIGN= "CENTER"><input type="submit" name="btnConf" value=" BLOCCA RICHIESTA "></TD>
<%}else{%>
<TD ALIGN= "CENTER"><input type="submit" name="btnConf" value=" SBLOCCA RICHIESTA "></TD>
<%}%>
</tr>
</table>
<%}%>
</form>
</td>
</tr>
</table>
<!-- tabella x menu -->
</body>
</html>