Subversion Repositories Sigmater

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
157 Andrea 1
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
2
<%@ taglib prefix="s" uri="/struts-tags" %>
3
 
4
<script type="text/javascript">
5
	function aggiornaMaschera() {
6
		var formObj = document.getElementById('AnncsuFileCaricamento');
7
		formObj.action = 'caricaStradario!ricaricalista.action';
8
		formObj.submit();
9
	}
10
</script>
11
<div id="content">
12
	<div id="richiesta">
13
		<div id="pdf">
14
			<img alt="" onmouseout="htm()" onmouseover="stmb(-1,0)" src="img/s3help.gif" />
15
		</div>
16
		<h1>Caricamento File Stradario</h1>
17
		<h2>Passo 1 di 1 - Caricamento Stradario per comune</h2>
18
		<s:form id="AnncsuFileCaricamento" action="caricaStradario!caricaFiles" theme="simple" method="post" enctype="multipart/form-data">
19
			<div id="Ricerca" style="display: block;">
20
				<fieldset>
21
					<legend style="text-align: left;">Inserisci i dati per il caricamento o la ricerca delle fornitura caricate</legend>
22
 
23
					<div class="campi">
24
 
25
						<label for="codProv">Provincia</label>
26
						<s:select onchange="aggiornaMaschera();" cssStyle="width:auto; font-family:monospace;" 
27
								  id="codProv" list="province" listKey="codProvIstat" listValue="descrizione" name="codProvinciaSelezionata" />
28
						<img src="img/domanda4.gif" alt="" onmouseover="stmb(102,0)" onmouseout="htm()">
29
						<br/><br/>
30
 
31
						<label for="codCom">Comune</label>
32
						<s:select cssStyle="width:auto; font-family:monospace;"
33
								  id="codCom" list="comuni" listKey="codCom" listValue="descrizione"  name="ricercaCaricaStradario.codCom" />
34
						<img src="img/domanda4.gif" alt="" onmouseover="stmb(101,0)" onmouseout="htm()">
35
						<s:fielderror><s:param value="%{'codCom'}" /></s:fielderror>
36
						<br/><br/>
37
						<label for="stradarioFile">File Stradario</label>
38
						<s:file id="stradarioFile" name="ricercaCaricaStradario.stradarioFile" label="File Stradario" />
39
						<s:fielderror><s:param value="%{'stradarioFile'}" /></s:fielderror>
40
						<br/><br/>
41
						<label for="civiciFile">File Civici</label>
42
						<s:file id="civiciFile" name="ricercaCaricaStradario.civiciFile" label="File Civici"/>
43
						<s:fielderror><s:param value="%{'civiciFile'}" /></s:fielderror>
44
						<br/><br/>
45
						<label for="interniFile">File Interni</label>
46
						<s:file id="interniFile" name="ricercaCaricaStradario.interniFile" label="File Interni"/>
47
						<s:fielderror><s:param value="%{'interniFile'}" /></s:fielderror>
48
					</div>
49
 
50
				</fieldset>
51
			</div>
52
			<input type="button" value="Indietro" onclick="javascript:vaiAllaPaginaIniziale();" />
53
			<s:submit value="Carica" />
54
			<input type="button" value="Cerca" onclick="javascript:aggiornaMaschera();" />
55
		</s:form>
56
		<br/>
57
		<s:if test="%{listaFileCaricati.size() > 0}">
58
			<h2>Lista forniture caricate per il comune <strong><s:property value="ricercaCaricaStradario.codCom"/></strong> </h2> 
59
			<table class="ListaFornitureAnncsu">
60
				<tbody>
61
					<tr>
62
						<th title="Sezione">Codice Comune</th>
63
						<th title="Sezione">Nome Fornitura</th>
64
						<th title="Sezione">Data</th>
65
						<th title="Sezione">Stato</th>
66
						<th title="Sezione">Errore</th>
67
						<th></th>
68
					</tr>
69
					<s:iterator id="caricamenti" value="listaFileCaricati">
70
						<tr>
71
							<td><s:property value="#caricamenti.codComune" /></td>
72
							<td><s:property value="#caricamenti.nomeFornitura" /></td>
73
							<td><s:property value="#caricamenti.dataFornitura" /></td>
74
							<td><s:property value="#caricamenti.codStato" /></td>
75
							<td><s:property value="#caricamenti.errore" /></td>
76
						</tr>		
77
					</s:iterator>
78
				</tbody>
79
			</table>
80
		</s:if>
81
		</div>
82
</div>