<%@ include file="/project/include.jsp" %> <%@page import="it.cedaf.icare.customers.zcommod.ZcommodModuleInfo" %> <script type="text/javascript"> function downloadFile(field) { var params = 'id=' + cpGetMasterColumnValueOfCurrentRow('id') + "&field=" + field; shellDownload('it.cedaf.icare.customers.zcommod.control.action.ZcommodCertificazioneISEEFileProvider', params); } function eformat_cpmt_esito(element, value, name) { shellFormatImg(element, value, new Array( ['OK', juiceGetResource('shell', 'img/misc/check_small.gif')], ['ERR', juiceGetResource('shell', 'img/misc/delete-small.gif')] )); var td = element.parentElement; var logBtn = td.lastElementChild; if (value == 'OK' || value == 'ERR') logBtn.style.display = ''; else logBtn.style.display = 'none'; var certBtn = document.getElementById("sh_tb__downloadCert"); if (value == 'OK') certBtn.style.display = 'block'; else certBtn.style.display = 'none'; } </script> <shell:fieldset title="Informazioni"> <bui:out modes="view"> <table border="0" cellspacing="3" cellpadding="0" > <tr> <td class="form-label"> <shell:label prop="annoRiferimento" /> </td> <td class="form-values"> <j:tile name="shell.plaintext" prop="annoRiferimento" /> </td> </tr> <tr> <td class="form-label"> <shell:label prop="protocollo" /> </td> <td class="form-values"> <j:tile name="shell.plaintext" prop="protocollo" /> </td> </tr> <tr> <td class="form-label"> <shell:label prop="dataElaborazione" /> </td> <td class="form-values"> <j:tile name="shell.plaintext" prop="dataElaborazione" /> </td> </tr> <tr> <td class="form-label"> <shell:label prop="esito" /> </td> <td class="form-values"> <j:tile name="shell.plaintext" prop="esito" /> <shell:button id="sh_tb__downloadLog" text="Download LOG" title="Download LOG" href="javascript: downloadFile('log');" enabled="true" ext="true" /> </td> </tr> <tr> <td class="form-label"> Certificazioni </td> <td class="form-values"> <shell:button id="sh_tb__downloadCert" text="Download" img="shell.pdf" title="Download" href="javascript: downloadFile('cert');" enabled="true" ext="true" /> </td> </tr> </table> </bui:out> </shell:fieldset>