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

<shell:fieldset title="Informazioni generali">
	<table border="0" cellspacing="3" cellpadding="0" >		
		<tr>
			<td class="form-label">
				<shell:label prop="codice" />
			</td>
			<td class="form-values">
				<bui:out modes="view">
					<j:tile name="shell.plaintext" prop="codice" />
				</bui:out>
				<bui:out modes="create, update">
					<j:bind prop="codice">
						<j:text class="form-short-text" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
		</tr>
		<tr>
			<td class="form-label">
				<shell:label prop="descrizione" />
			</td>
			<td class="form-values">
				<bui:out modes="view">
					<j:tile name="shell.plaintext" prop="descrizione" />
				</bui:out>
				<bui:out modes="create, update">
					<j:bind prop="descrizione">
						<j:text class="form-normal-text" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
		</tr>	
		<tr>
			<td class="form-label">
				<shell:label prop="gestionePoli" />
			</td>
			<td class="form-values">
				<bui:out modes="view, update">
					<j:tile name="shell.plaintext" prop="gestionePoli" />
				</bui:out>
				<bui:out modes="create">
					<j:bind prop="gestionePoli">
						<j:radio id="gestionePoliId_0" displayValue="si" />${j:bundle('LBL_si')}
						<j:radio id="gestionePoliId_1" displayValue="no" />${j:bundle('LBL_no')}
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
		</tr>	
		<tr>
			<td class="form-label">
				<shell:label prop="ente" />
			</td>
			<td class="form-data">
				<bui:out modes="view">
					<j:tile name="shell.plaintext" prop="ente" />
				</bui:out>
				<bui:out modes="create, update">
					<c:choose>
						<c:when test="${!empty bloccaEnte && bloccaEnte == 'true'}">
							<j:tile name="shell.plaintext" prop="ente" />
							<j:bind prop="ente">
								<j:hidden />
							</j:bind>
						</c:when>
						<c:otherwise>
							<j:bind prop="ente">
								<j:select id="idEnte" class="form-input" emptyOptionDescr="" onChange="getServiziOnChangeEnte('idEnte', 'idServizio');"/> 
								<shell:error />
							</j:bind>
						</c:otherwise>
					</c:choose>		
				</bui:out>
			</td>
		</tr>
		<tr>
			<td class="form-label">
				<shell:label prop="servizio" />
			</td>
			<td class="form-data">
				<bui:out modes="view">
					<j:tile name="shell.plaintext" prop="servizio" />
				</bui:out>
				<bui:out modes="create, update">
					<c:choose>
						<c:when test="${!empty bloccaServizio && bloccaServizio == 'true'}">
							<j:tile name="shell.plaintext" prop="servizio" />
							<j:bind prop="servizio">
								<j:hidden />
							</j:bind>
						</c:when>
						<c:otherwise>
							<j:bind prop="servizio">
								<j:select id="idServizio" class="form-input" emptyOptionDescr="" /> 
								<shell:error />
							</j:bind>
						</c:otherwise>
					</c:choose>						
				</bui:out>
			</td>
		</tr>		
		<tr>
			<td class="form-label">
				<shell:label prop="note" />
			</td>
			<td class="form-values">
				<bui:out modes="view">
					<j:tile name="shell.plaintext" prop="note" />
				</bui:out>
				<bui:out modes="create, update">
					<j:bind prop="note">
						<j:textarea class="form-normal-textarea" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
		</tr>
 	</table>
</shell:fieldset>