First Commit - Source Code from Reply
This commit is contained in:
129
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/EsitoInvio.jsp
Normal file
129
dbcmnpsrc/FE/mnpdev/mnp/web/jsp/EsitoInvio.jsp
Normal file
@@ -0,0 +1,129 @@
|
||||
<%@page import = "mnp.utility.ui.PageLoader"%>
|
||||
<%@page import = "mnp.objects.*, mnp.utility.ui.Res, mnp.objects.ui.EsitoRichiestaCA"%>
|
||||
|
||||
<jsp:useBean id="inviaBean" scope="request" class="mnp.objects.ui.InviaBean"/>
|
||||
<!--jsp:setProperty name="inviaBean" property="*"/-->
|
||||
|
||||
<!--
|
||||
Pagina di ritorno della Invio.jsp
|
||||
-->
|
||||
<HTML>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
|
||||
<BODY>
|
||||
<!-- codice java -->
|
||||
<%
|
||||
PageLoader pageLoader = new PageLoader();
|
||||
|
||||
String sNomeFileSelezionato = "";
|
||||
String sTipoFile = "";
|
||||
String sTipoProcesso = "";
|
||||
String sDestinatario = "";
|
||||
String sModoInvio = "";
|
||||
String[] aNomeFileGenerati = null;
|
||||
EsitoRichiestaCA[] esito = null;
|
||||
String sEsitoOperazione = inviaBean.getEsitoOperazione()==null?"":inviaBean.getEsitoOperazione();
|
||||
sEsitoOperazione = sEsitoOperazione.equals("pippo")?"":sEsitoOperazione;
|
||||
if((inviaBean != null) && (sEsitoOperazione.equals(""))){
|
||||
//--------------------------------------------------------------//
|
||||
//se sEsitoOperazione è valorizzato allora c-è stato un errore.
|
||||
//--------------------------------------------------------------//
|
||||
esito = inviaBean.getEsitoRichiesta();
|
||||
sNomeFileSelezionato = inviaBean.getNomeFile();
|
||||
sTipoFile = pageLoader.tipoFileInt2String(inviaBean.getTipoFile());
|
||||
sTipoProcesso = pageLoader.tipoProcesso2String(inviaBean.getTipoProcesso());
|
||||
sDestinatario = inviaBean.getDestinatario()==null?"":pageLoader.destinatarioArr2String(inviaBean.getDestinatario());
|
||||
sModoInvio = inviaBean.getModalitaInvio();
|
||||
aNomeFileGenerati = inviaBean.getNomeFileGenerati();
|
||||
|
||||
}
|
||||
|
||||
%>
|
||||
<!-- fine codice java -->
|
||||
<!-- intestazione -->
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%">
|
||||
<TR><td width = "100%" bgcolor = "#D61414"> </td><TR>
|
||||
</table>
|
||||
<table width = "100%" >
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!--fine tabella x menu -->
|
||||
|
||||
<BR>
|
||||
<BR>
|
||||
<b><i><P class = "titolo">ESITO INVIO FILE</P></i></b>
|
||||
|
||||
|
||||
<FORM NAME= "frmEsitoInvio" METHOD="POST" ACTION="<%=Res.ApplContext%>/FileUploadServlet" >
|
||||
<!-- dati -->
|
||||
<TABLE width = "100%" BORDER= "1" class = "border">
|
||||
<TR>
|
||||
<TD><P class = "normale">File Selezionato </P></TD>
|
||||
<TD><INPUT TYPE="text" SIZE = "80" NAME='txtNomeFile' readOnly VALUE ='<%=sNomeFileSelezionato%>'></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD><P class = "normale"> Tipo PROCESSO </P> </TD>
|
||||
<TD><INPUT TYPE="text" SIZE = "80" NAME='txtTipoPrc' readOnly VALUE ='<%=sTipoProcesso%>'></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD><P class = "normale"> Tipo FILE </P> </TD>
|
||||
<TD><INPUT TYPE="text" SIZE = "80" NAME='txtTipoFile' readOnly VALUE ='<%=sTipoFile%>'></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD><P class = "normale"> Destinatario </P> </TD>
|
||||
<TD><INPUT TYPE="text" SIZE = "80" NAME='txtDestinatario' readOnly VALUE ='<%=sDestinatario%>'></TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD><P class = "normale"> Modalità Invio </P> </TD>
|
||||
<TD><INPUT TYPE="text"SIZE = "80" NAME='txtModoInvio' readOnly VALUE ='<%=sModoInvio%>'></TD>
|
||||
</TR>
|
||||
<%if(!sEsitoOperazione.equals("")){%>
|
||||
<TR>
|
||||
<TD><P class = "normale"> Esito Operazione </P> </TD>
|
||||
<TD><INPUT TYPE="text" SIZE = "80" NAME='txtEsito' readOnly VALUE ='<%=sEsitoOperazione%>'></TD>
|
||||
</TR>
|
||||
<%}%>
|
||||
</TABLE>
|
||||
<%if(sEsitoOperazione.equals("")){%>
|
||||
<BR>
|
||||
<TABLE width = "100%" BORDER= "1" class = "border">
|
||||
<TR>
|
||||
<TD><P class = "normale">Nome File</P></TD>
|
||||
<!-- <TD><A onClick = "creaLista();"><IMG border = "0" SRC ="< %=Res.ApplContext%>\images\btn_listafile.gif"></a></TD>-->
|
||||
</TR>
|
||||
<%for(int i = 0;i<aNomeFileGenerati.length;i++){%>
|
||||
<TR>
|
||||
<!-- <TD colspan = "2"><P class = "normale">< %=aNomeFileGenerati[i]%></P></TD>-->
|
||||
<TD><P class = "normale"><%=aNomeFileGenerati[i]%></P></TD>
|
||||
</TR>
|
||||
<%}%>
|
||||
</TABLE>
|
||||
<%if(sModoInvio.equalsIgnoreCase("File")){%>
|
||||
<P class = "normale">I file inviati possono essere visualizzati nella Lista File. </P>
|
||||
<%}%>
|
||||
|
||||
<%}%>
|
||||
|
||||
<!-- pulsanti -->
|
||||
<BR><BR><HR class = "riga">
|
||||
<TABLE width = "100%">
|
||||
<TR>
|
||||
<TD ALIGN= "CENTER"><A class = "linkPage" HREF="<%=Res.ApplContext%>/MainDispatcher?nomePagina=Invio"> << Back </A></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</FORM>
|
||||
<!-- tabella x menu -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
Reference in New Issue
Block a user