<%@ include file="/project/include.jsp"%>

<script type="text/javascript">
	registerOnDocumentLoad(function() {
		parent.parent.cpReload();
	});

	function closeProtocollazioneDialog() {
		parent.parent.hideModal('protocollazioneDialog');
	}
</script>

<table width="100%" height="100%" style="padding: 20px 4px 4px 4px;">
	<c:choose>
		<c:when test="${empty error_message_dto}">
			<tr style="vertical-align: top;">
				<td>
					<div class="generic-label">				
						<b>Valori ottenuti</b><br/>
						Numero protocollo: ${numeroProtocollo_dto}<br/>
						Data protocollo: ${dataProtocollo_dto}								
					 	<br/><br/><br/>
					 	<center>
					 		<button class="generic-button ui-state-default ui-corner-all" onClick="closeProtocollazioneDialog(); return false;"><img src="${j:getResourceUrlOfModule('shell', 'img/misc/confirm-small.gif')}" width="16" height="16" border="0" align="absmiddle">&nbsp;Chiudi</button>
					 	</center>
					</div>		 		
				</td>
			</tr>
		</c:when>
		<c:otherwise>
			<tr style="vertical-align: top;">
				<td>
					<div class="generic-label">				
						<b>Si � verificato un errore:</b><br/>
						${error_message_dto}								
					 	<br/><br/><br/>
					 	<center>
					 		<button class="generic-button ui-state-default ui-corner-all" onClick="closeProtocollazioneDialog(); return false;"><img src="${j:getResourceUrlOfModule('shell', 'img/misc/confirm-small.gif')}" width="16" height="16" border="0" align="absmiddle">&nbsp;Chiudi</button>
					 	</center>
					</div>		 		
				</td>
			</tr>
		</c:otherwise>
	</c:choose>
						
</table>