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

<script type="text/javascript">

	/** */
	function eseguiInvioNotificaComunicazione() {
		var form = document.getElementById('invioNotifComForm');
		juiceSubmitForm(form, -1);
	}

</script>

<j:form id="invioNotifComForm" name="invioNotifComForm" event="invioNotificaComunicazione" enctype="multipart/form-data" method="POST" clientValidatorProvider="it.cedaf.juice.mvc.modules.shell.view.helper.JavascriptClientValidatorProvider">
	<table border="0" cellpadding="0" cellspacing="3" width="100%">
		<c:choose>
			<c:when test="${dto_showComboOperatore == 'true'}">
				<tr>
					<td class="form-label">
						<span>Operatore destinatario della notifica</span><span class="form-label-required">&nbsp;*</span>
					</td>
					<td class="form-values">
						<j:bind prop="idOperatoreDestinatario">
							<j:select id="comboOpDest" class="form-input" />
							<shell:error />
						</j:bind>
					</td>
				</tr>	
			</c:when>
			<c:otherwise>
				<tr>
					<td class="generic-label" style="padding: 4px 4px 15px 4px;" colspan="2">Inviare la notifica per la comunicazione selezionata?</td>
					<j:bind prop="idOperatoreDestinatario">
						<j:hidden />
					</j:bind>
				</tr>			
			</c:otherwise>
		</c:choose>				
		<tr>
			<td style="padding: 15px 4px 5px 4px; text-align:center;" colspan="2">
				<button class="generic-button ui-state-default ui-corner-all" onclick="eseguiInvioNotificaComunicazione();"><img src="${j:getResourceUrlOfModule('shell', 'img/misc/confirm-small.gif')}" width="16" height="16" border="0" align="absmiddle">&nbsp;Conferma</button> 													
			</td>
		</tr>
	</table>

	<j:bind prop="idComunicazione">
		<j:hidden id="idComunicazione"/>
	</j:bind>
	<j:bind prop="dataComunicazione">
		<j:hidden id="dataComunicazione"/>
	</j:bind>	
</j:form>