First Commit - Source Code from Reply
This commit is contained in:
@@ -0,0 +1,106 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
BloccaSbloccaRichiestaDONOR
|
||||
</title>
|
||||
</head>
|
||||
|
||||
|
||||
|
||||
<%@page import = "mnp.objects.dao.*,mnp.objects.result.*,mnp.objects.StatoRichiesta"%>
|
||||
<%@page import = "java.util.*,mnp.command.*,mnp.utility.*,mnp.database.*"%>
|
||||
<%@page import = "mnp.utility.ui.Res"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.objects.result.ModificaRichiesteResult" />
|
||||
|
||||
<%if(request.getParameter("btnConf")!= null){%>
|
||||
<jsp:setProperty name="resultBean" property="*"/>
|
||||
<jsp:forward page="/ShowEsitoBloccaSblocca.do"/>
|
||||
<%}%>
|
||||
|
||||
<!-- 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 RICHIESTA DONOR</P></i></b>
|
||||
|
||||
|
||||
<!-- titolo della tabella --->
|
||||
<form name = 'simulaForm' method= 'post' action = '<%=Res.ApplContext%>/jsp/GUI/BloccaSbloccaRichiestaDONOR.jsp' onSubmit = 'return checkCampi(this);'>
|
||||
<br>
|
||||
<p align = 'left'><font class = 'normaleTab'>Blocca Sblocca Richiesta : </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>
|
||||
|
||||
<%
|
||||
ModificaRichiesteResult modRicRe = resultBean;
|
||||
String warnColor = null;
|
||||
int iStato = -1;
|
||||
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'><%=StatoRichiesta.getStatoDescr(iStato)%></font></td>
|
||||
<td class= '<%=warnColor%>' align='center'><font class = 'normaleTab'><%=modRicRe.getEsito()%></font></td>
|
||||
</tr>
|
||||
<%}%>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<table width = '100%' border='1' >
|
||||
<tr>
|
||||
<td align = 'left' class = 'tdCeleste'><font class = 'normaleTab'>TT</font></td>
|
||||
<%if(iStato != StatoRichiesta.BLOCCATA){%>
|
||||
<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(iStato != StatoRichiesta.BLOCCATA){%>
|
||||
<td align = 'left' class = 'tdGiallo'><input type='text' name='data_sblocco' value = '' onBlur ='checkData(this,this.value)'></td>
|
||||
<%}%>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<%if(modRicRe.getEsito().equalsIgnoreCase("OK")){%>
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<%if(iStato != StatoRichiesta.BLOCCATA){%>
|
||||
<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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user