commissioneSearch.jsp 4.17 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
<%@ include file="/project/include.jsp" %>	
<script type="text/javascript">	
function onChangePropCommissione() {
	var macrotipologia = getComboValueById('idMacrotipologia');
	var idTipoCommissione = getComboValueById('idTipoCommissione');
	var idTipoIntervento = getComboValueById('idTipoIntervento');
	var idServizioGestore = document.getElementById('idServizioProponente').value;
	var idVoceBudget = getComboValueById('idVoceBudget');
	var idImpegnoDiSpesa = getComboValueById('idImpegnoDiSpesa');

	var params = 'macrotipologia=' + macrotipologia + '&idServizioGestore=' + idServizioGestore + '&idTipoCommissione=' + idTipoCommissione + '&idTipoIntervento=' + idTipoIntervento 
		+ '&idVoceBudget=' + idVoceBudget + '&idImpegnoDiSpesa=' + idImpegnoDiSpesa;
	
	var selectStato = document.getElementById('idStatoCorrente');
	if (selectStato) {
		var idStato = getComboValueById('idStatoCorrente');
		params+='&idStato=' + idStato;
	}

	jsLoadMultipleSelectOptions('it.cedaf.icare.domande.commons.LoadCommissioneSearchMultiSelectOptions', params, JS_SYNC);
}	
</script>

<shell:fieldset title="${j:bundle('LBL_domande_commissione_infoGen_SET')}">
	<table width="100%" border="0" cellspacing="3" cellpadding="0" >
		<tr>
			<td class="form-label">
				<shell:label prop="icaroCode" />
			</td>
			<td class="form-values">
				<j:bind prop="icaroCode">
					<j:text class="form-normal-text" />
				</j:bind>
			</td>
		</tr>
		<tr>
			<td class="form-label">
				<shell:label prop="dataCommissione" />
			</td>
			<td class="form-values">
				<j:bind prop="dataCommissioneDa">
					${j:bundle('LBL_ricercaDa')} <j:text class="form-date" id="dataCommissioneDaCld" />
					<shell:calendar inputId="dataCommissioneDaCld" />
					<shell:error />
				</j:bind>
				<j:bind prop="dataCommissioneA">
					a: <j:text class="form-date" id="dataCommissioneACld" />
					<shell:calendar inputId="dataCommissioneACld" />
					<shell:error />
				</j:bind>
			</td>
 		</tr>
		<tr>
			<td class="form-label">
				<shell:label prop="dataEsito" />
			</td>
			<td class="form-values">
				<j:bind prop="dataEsitoDa">
					${j:bundle('LBL_ricercaDa')} <j:text class="form-date" id="dataEsitoDaCld" />
					<shell:calendar inputId="dataEsitoDaCld" />
					<shell:error />
				</j:bind>
				<j:bind prop="dataEsitoA">
					a: <j:text class="form-date" id="dataEsitoACld" />
					<shell:calendar inputId="dataEsitoACld" />
					<shell:error />
				</j:bind>
			</td>
 		</tr> 		
		<tr>
			<td class="form-label">
				<shell:label prop="descrizione" />
			</td>
			<td class="form-values">
				<j:bind prop="descrizione">
					<j:text class="form-long-text" />
				</j:bind>	
			</td>
		</tr>
		<tr>   
			<td class="form-label">
		    	<shell:label prop="servizioProponente" />
	   		</td>
			<td class="form-values">
		    	<j:bind prop="servizioProponente">
					<j:select id="idServizioProponente" class="form-input" emptyOptionDescr=" " onChange="onChangePropCommissione();"/>
				</j:bind>	
			</td>
		</tr>			
		<tr>   
	      	<td class="form-label">
	    		<shell:label prop="macrotipologia" />
	    	</td>
			<td class="form-values">
		    	<j:bind prop="macrotipologia">
					<j:select id="idMacrotipologia" class="form-input" emptyOptionDescr=" " onChange="onChangePropCommissione();"/>
				</j:bind>	
			</td>
		</tr>		 		
		<tr>   
	      	<td class="form-label">
	    		<shell:label prop="tipoCommissione" />
	    	</td>
			<td class="form-values">
		    	<j:bind prop="tipoCommissione">
					<j:select id="idTipoCommissione" class="form-input" emptyOptionDescr=" " onChange="onChangePropCommissione();"/>
				</j:bind>	
			</td>
		</tr>
		<tr>   
	      	<td class="form-label">
	    		<shell:label prop="tipoIntervento" />
	    	</td>
			<td class="form-values">
		    	<j:bind prop="tipoIntervento">
					<j:select id="idTipoIntervento" class="form-input" emptyOptionDescr=" " onChange="onChangePropCommissione();"/>
				</j:bind>	
			</td>
		</tr>
		<tr>
			<td class="form-label">
				<shell:label prop="statoCorrente"  />
			</td>
			<td class="form-values">
				<j:bind prop="statoCommissione">
					<j:select class="form-input" id="idStatoCorrente" emptyOptionDescr="" />							
					<shell:error />
				</j:bind>	
			</td>
		</tr>		
 	</table>
</shell:fieldset>