<%@ include file="/project/include.jsp" %> <%@ page import = "it.cedaf.icare.customers.zunitdc.ZunitdcModuleInfo" %> <script type="text/javascript"> function accettaRifiutaPreferenza() { var form = document.getElementById('accettaRifiutaPreferenzaForm'); juiceSubmitForm(form); } </script> <j:form id="accettaRifiutaPreferenzaForm" name="accettaRifiutaPreferenza" event="accettaRifiutaPreferenza" enctype="multipart/form-data" method="POST"> <j:bind prop="dmKey"> <j:hidden id="dmKey"/> </j:bind> <j:bind prop="selectedRow"> <j:hidden id="selectedRow"/> </j:bind> <j:bind prop="slaveSelectedRow"> <j:hidden id="slaveSelectedRow"/> </j:bind> <j:bind prop="stato"> <j:hidden id="stato"/> </j:bind> <br> <c:choose> <c:when test="${preferenzaStrutturaStato == 10}"> <img src="${j:getResourceUrlOfModule('shell','img/misc/confirm-small.gif')}" align="absmiddle"> <span class="generic-label">Accettazione Struttura</span> </c:when> <c:when test="${preferenzaStrutturaStato == 20}"> <img src="${j:getResourceUrlOfModule('shell','img/misc/forbidden.gif')}" align="absmiddle"> <span class="generic-label">Rifiuto Struttura</span> </c:when> </c:choose> <br><br> <table border="0" cellpadding="0" cellspacing="3" width="100%"> <tr> <td class="form-label">Data Validita<span class="form-label-required">�*</span></td> <td class="form-values"> <j:bind prop="dataValidita"> <j:text class="form-date" id="dataValiditaCld"/> <shell:calendar inputId="dataValiditaCld" /> <shell:error /> </j:bind> </td> </tr> <c:choose> <c:when test="${preferenzaStrutturaStato == 10}"> <tr> <td class="form-label">Ingresso posticipato</td> <td class="form-values"> <j:bind prop="ingressoPosticipato"> <j:checkbox id="idIngressoPosticipato" displayValue="true" /> </j:bind> </td> </tr> </c:when> <c:when test="${preferenzaStrutturaStato == 20}"> <tr> <td class="form-label"> Ragioni sanitarie o di forza maggiore</td> <td class="form-values"> <j:bind prop="ragForzaMagg"> <j:checkbox id="idRagForzaMagg" displayValue="true" /> </j:bind> </td> </tr> </c:when> </c:choose> <tr> <td class="form-label"> Note </td> <td class="form-values"> <j:bind prop="note"> <j:textarea class="form-normal-textarea" /> <shell:error /> </j:bind> </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" id="accettaRifiutaPreferenza"><img src="${j:getResourceUrlOfModule('shell', 'img/misc/confirm-small.gif')}" width="16" height="16" border="0" align="absmiddle"> Conferma</button> </td> </tr> <script type="text/javascript"> $('#accettaRifiutaPreferenza').click(function() { accettaRifiutaPreferenza(); }); </script> </table> </j:form>