scissioneNucleoPopupTile.jsp 3.5 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
<%@ include file="/project/include.jsp" %>

<script type="text/javascript">

	/** */
	function separateNucleo() {
		var form = document.getElementById('scissioneNucleoForm');
		juiceSubmitForm(form);
	}

</script>

<j:form id="scissioneNucleoForm" name="scissioneNucleo" event="scissioneNucleo" enctype="multipart/form-data" method="POST" clientValidatorProvider="it.cedaf.juice.mvc.modules.shell.view.helper.JavascriptClientValidatorProvider">

	<j:bind prop="selectedRow">
		<j:hidden id="selectedRow"/>
	</j:bind>
	<j:bind prop="dmKey">
		<j:hidden id="dmKey"/>
	</j:bind>
	<br>
	<shell:fieldset title="Informazioni del nuovo Nucleo Familiare">
	<table border="0" cellpadding="0" cellspacing="3" width="100%">
		<tr>
			<td valign="top" width="50%"><!-- Denominazione, colonna sx-->
			<table border="0" cellpadding="0" cellspacing="3" width="100%">
				<tr>
		      		<td class="form-label">
		    			Data Inizio<span class="form-label-required">*</span>
		    		</td>
		    		<td class="form-values">
				    	<j:bind prop="dataInizio">
							<j:text class="form-date" id="dataInizioCld"/>
							<shell:calendar inputId="dataInizioCld" />
							<shell:error />
						</j:bind>
				   	</td>
			   	</tr>
			   	<tr>
			      	<td class="form-label">
			    		Monogenitoriale
			    	</td>
			    	<td class="form-values">
					    <j:bind prop="monogenitoriale">
							<j:radio displayValue="" />${j:bundle('LBL_nonRilevato')}
							<j:radio displayValue="si" />${j:bundle('LBL_si')}
							<j:radio displayValue="no" />${j:bundle('LBL_no')}
						    <shell:error />
						</j:bind>
				   	</td>
				</tr>
				<tr>
			      	<td class="form-label">
			      		Straniero
			    	</td>
			    	<td class="form-values">
					    <j:bind prop="straniero">
							<j:radio displayValue="" />Non rilevato
							<j:valueSetIterator>
								<j:radio/> ${j:getValueSetItem().description}
							</j:valueSetIterator>
						    <shell:error />
						</j:bind>
				   	</td>
				</tr>
		   	</table>
		   	</td>
		   	<td valign="top" width="50%"><!-- Cod. Anagrafe, colonna dx -->
			<table border="0" cellpadding="0" cellspacing="3" width="100%">
			   	<tr>
		      		<td class="form-label">
		    			Denominazione<span class="form-label-required">*</span>
		    		</td>
		    		<td class="form-values">
				    	<j:bind prop="denominazione">
							<j:text class="form-normal-text"/>
							<shell:error />
						</j:bind>
				   	</td>
			   	</tr>
		   	</table>
		   	</td>
		</tr>
		<tr>
			<td valign="top" colspan="2">
			
			<br>
			<shell:fieldset title="Elenco componenti">
			<table border="0" cellpadding="0" cellspacing="3" width="100%">
				<tr>
					<td class="form-label">
						Componenti Nucleo<span class="form-label-required">*</span>
					</td>
					<td class="form-values">
						<j:bind prop="componenteNucleo">
							<j:valueSetIterator>
								<j:checkbox id="componenteNucleoId" />${j:getValueSetItem().description}<br>
	        				</j:valueSetIterator>
	        				<shell:error />
							<%-- 
							<shell:swap swapId="componenteNucleoId" />
							--%>
						</j:bind>
					</td>
				</tr>
			</table>
			</shell:fieldset>
			</td>
		</tr>
		<tr>
			<td colspan="2" style="padding: 15px 4px 5px 4px; text-align:center;">
				<button class="generic-button ui-state-default ui-corner-all" onclick="separateNucleo();"><img src="${j:getResourceUrlOfModule('shell', 'img/misc/confirm-small.gif')}" width="16" height="16" border="0" align="absmiddle">&nbsp;Conferma</button> 													
			</td>
		</tr>							
	</table>
	</shell:fieldset>
</j:form>