Blame | Last modification | View Log | Download | RSS feed
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<script type="text/javascript">
function aggiornaMaschera() {
var formObj = document.getElementById('AnncsuFileCaricamento');
formObj.action = 'caricaStradario!ricaricalista.action';
formObj.submit();
}
</script>
<div id="content">
<div id="richiesta">
<div id="pdf">
<img alt="" onmouseout="htm()" onmouseover="stmb(-1,0)" src="img/s3help.gif" />
</div>
<h1>Caricamento File Stradario</h1>
<h2>Passo 1 di 1 - Caricamento Stradario per comune</h2>
<s:form id="AnncsuFileCaricamento" action="caricaStradario!caricaFiles" theme="simple" method="post" enctype="multipart/form-data">
<div id="Ricerca" style="display: block;">
<fieldset>
<legend style="text-align: left;">Inserisci i dati per il caricamento o la ricerca delle fornitura caricate</legend>
<div class="campi">
<label for="codProv">Provincia</label>
<s:select onchange="aggiornaMaschera();" cssStyle="width:auto; font-family:monospace;"
id="codProv" list="province" listKey="codProvIstat" listValue="descrizione" name="codProvinciaSelezionata" />
<img src="img/domanda4.gif" alt="" onmouseover="stmb(102,0)" onmouseout="htm()">
<br/><br/>
<label for="codCom">Comune</label>
<s:select cssStyle="width:auto; font-family:monospace;"
id="codCom" list="comuni" listKey="codCom" listValue="descrizione" name="ricercaCaricaStradario.codCom" />
<img src="img/domanda4.gif" alt="" onmouseover="stmb(101,0)" onmouseout="htm()">
<s:fielderror><s:param value="%{'codCom'}" /></s:fielderror>
<br/><br/>
<label for="stradarioFile">File Stradario</label>
<s:file id="stradarioFile" name="ricercaCaricaStradario.stradarioFile" label="File Stradario" />
<s:fielderror><s:param value="%{'stradarioFile'}" /></s:fielderror>
<br/><br/>
<label for="civiciFile">File Civici</label>
<s:file id="civiciFile" name="ricercaCaricaStradario.civiciFile" label="File Civici"/>
<s:fielderror><s:param value="%{'civiciFile'}" /></s:fielderror>
<br/><br/>
<label for="interniFile">File Interni</label>
<s:file id="interniFile" name="ricercaCaricaStradario.interniFile" label="File Interni"/>
<s:fielderror><s:param value="%{'interniFile'}" /></s:fielderror>
</div>
</fieldset>
</div>
<input type="button" value="Indietro" onclick="javascript:vaiAllaPaginaIniziale();" />
<s:submit value="Carica" />
<input type="button" value="Cerca" onclick="javascript:aggiornaMaschera();" />
</s:form>
<br/>
<s:if test="%{listaFileCaricati.size() > 0}">
<h2>Lista forniture caricate per il comune <strong><s:property value="ricercaCaricaStradario.codCom"/></strong> </h2>
<table class="ListaFornitureAnncsu">
<tbody>
<tr>
<th title="Sezione">Codice Comune</th>
<th title="Sezione">Nome Fornitura</th>
<th title="Sezione">Data</th>
<th title="Sezione">Stato</th>
<th title="Sezione">Errore</th>
<th></th>
</tr>
<s:iterator id="caricamenti" value="listaFileCaricati">
<tr>
<td><s:property value="#caricamenti.codComune" /></td>
<td><s:property value="#caricamenti.nomeFornitura" /></td>
<td><s:property value="#caricamenti.dataFornitura" /></td>
<td><s:property value="#caricamenti.codStato" /></td>
<td><s:property value="#caricamenti.errore" /></td>
</tr>
</s:iterator>
</tbody>
</table>
</s:if>
</div>
</div>