<%@ include file="/project/include.jsp" %> <script type="text/javascript"> function onChangeTipoIntervento() { var tipoIntervento = document.getElementById('idTipoIntervento'); var idTipoIntervento = tipoIntervento.options[tipoIntervento.selectedIndex].value; var livelloAssistenza = document.getElementById('idLivelloAssistenza'); if (livelloAssistenza) { jsLoadSelectOptionsAndFill('idLivelloAssistenza', 'it.cedaf.icare.interventi.commons.LivelliAssistenzaSelectOptions', 'idTipoIntervento=' + idTipoIntervento, ''); } // mancava il popolamento del combo Ente var enteErogatore = document.getElementById('idEnteErogatore'); if (enteErogatore) { loadStandardSelectOptionsAndFill('idEnteErogatore', 'it.cedaf.icare.estrazioni.control.binding.requestbean.valuesetproviders.EnteErogatoreInterventoDelegateValueSetProvider(idTipoIntervento)', 'idTipoIntervento=' + idTipoIntervento, ''); onChangeEnte(); } } function onChangeEnte() { var tipoIntervento = document.getElementById('idTipoIntervento'); var idTipoIntervento = tipoIntervento.options[tipoIntervento.selectedIndex].value; var ente = document.getElementById('idEnteErogatore'); var idEnte = ente.options[ente.selectedIndex].value; // la versione precedente non funzionava, le alternative erano : // lasciare la classe e cambiare il parametro StruttureInsLiquidazioniSelectOptions idEnteFatturazione // o cambiare la classe e lasciare il parametro StruttureInserimentoSelectOptions idEnteErogatore // dalla history dei commit pare sia buona la seconda var struttura = document.getElementById('idStrutturaInserimento'); if (struttura) { jsLoadSelectOptionsAndFill('idStrutturaInserimento', 'it.cedaf.icare.estrazioni.commons.StruttureInserimentoSelectOptions', 'idTipoIntervento=' + idTipoIntervento + '&idEnteErogatore=' + idEnte, ''); } } </script> <shell:fieldset title="${j:bundle('LBL_estrazioni_parmsel_SET')}"> <table border="0" cellspacing="3" cellpadding="0"> <icare:estrazioniExistsParam name="periodoRiferimentoDa"> <tr> <td class="form-label"> <shell:label prop="periodoRiferimentoDa" /> </td> <td class="form-values"> ${j:bundle('LBL_ricercaDa')} <j:bind prop="periodoRiferimentoDa"> <j:text class="form-date" id="periodoRiferimentoDa_cld" /> <shell:calendar inputId="periodoRiferimentoDa_cld" /> <shell:error /> </j:bind> </td> <td class="form-values"> a: <j:bind prop="periodoRiferimentoA"> <j:text class="form-date" id="periodoRiferimentoA_cld" /> <shell:calendar inputId="periodoRiferimentoA_cld" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="meseRiferimento"> <tr> <td class="form-label"> <shell:label prop="meseRiferimento" /> </td> <td class="form-values"> <j:bind prop="meseRiferimento"> <j:select class="form-input" emptyOptionDescr="" /> <shell:error /> </j:bind> </td> <td class="form-values"> anno: <j:bind prop="annoRiferimento"> <j:text class="form-short-text" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="annoRif"> <tr> <td class="form-label"> <shell:label prop="annoRif" /> </td> <td class="form-values" colspan="2"> <j:bind prop="annoRif"> <j:text class="form-short-text" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="dataRiferimento"> <tr> <td class="form-label"> <shell:label prop="dataRiferimento" /> </td> <td class="form-values" colspan="2"> <j:bind prop="dataRiferimento"> <j:text class="form-date" id="dataRiferimento_cld" /> <shell:calendar inputId="dataRiferimento_cld" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="dataInizioDa"> <tr> <td class="form-label"> <shell:label prop="dataInizioDa" /> </td> <td class="form-values"> ${j:bundle('LBL_ricercaDa')} <j:bind prop="dataInizioDa"> <j:text class="form-date" id="dataInizioDa_cld" /> <shell:calendar inputId="dataInizioDa_cld" /> <shell:error /> </j:bind> </td> <td class="form-values"> a: <j:bind prop="dataInizioA"> <j:text class="form-date" id="dataInizioA_cld" /> <shell:calendar inputId="dataInizioA_cld" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="dataFineDa"> <tr> <td class="form-label"> <shell:label prop="dataFineDa" /> </td> <td class="form-values"> ${j:bundle('LBL_ricercaDa')} <j:bind prop="dataFineDa"> <j:text class="form-date" id="dataFineDa_cld" /> <shell:calendar inputId="dataFineDa_cld" /> <shell:error /> </j:bind> </td> <td class="form-values"> a: <j:bind prop="dataFineA"> <j:text class="form-date" id="dataFineA_cld" /> <shell:calendar inputId="dataFineA_cld" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="tipoIntervento"> <tr> <td class="form-label"> <shell:label prop="tipoIntervento" /> </td> <td class="form-values" colspan="2"> <j:bind prop="tipoIntervento"> <j:select class="form-input" id="idTipoIntervento" emptyOptionDescr="" onChange="javascript:onChangeTipoIntervento();" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="livelloAssistenza"> <tr> <td class="form-label"> <shell:label prop="livelloAssistenza" /> </td> <td class="form-values" colspan="2"> <j:bind prop="livelloAssistenza"> <j:select class="form-input" id="idLivelloAssistenza" emptyOptionDescr="" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="statoIntervento"> <tr> <td class="form-label"> <shell:label prop="statoIntervento" /> </td> <td class="form-values"> <j:bind prop="statoIntervento"> <j:select class="form-input" emptyOptionDescr="" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="voceBudget"> <tr> <td class="form-label"> <shell:label prop="voceBudget" /> </td> <td class="form-values"> <j:bind prop="voceBudget"> <j:select class="form-input" emptyOptionDescr="" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="tipologiaLiquidazione"> <tr> <td class="form-label"> <shell:label prop="tipologiaLiquidazione" /> </td> <td class="form-values" colspan="2"> <j:bind prop="tipologiaLiquidazione"> <j:select id="idTipologiaLiquidazione" class="form-input" emptyOptionDescr="" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="enteErogatore"> <tr> <td class="form-label"> <shell:label prop="enteErogatore" /> </td> <td class="form-values" colspan="2"> <j:bind prop="enteErogatore"> <j:select class="form-input" id="idEnteErogatore" emptyOptionDescr="" onChange="javascript:onChangeEnte();" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="strutturaInserimento"> <tr> <td class="form-label"> <shell:label prop="strutturaInserimento" /> </td> <td class="form-values" colspan="2"> <j:bind prop="strutturaInserimento"> <j:select class="form-input" id="idStrutturaInserimento" emptyOptionDescr="" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="servizioRiferimento"> <tr> <td class="form-label"> <shell:label prop="servizioRiferimento" /> </td> <td class="form-values" colspan="2"> <j:bind prop="servizioRiferimento"> <j:select id="idServizioRif" class="form-input" emptyOptionDescr="" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="uoRiferimento"> <tr> <td class="form-label"> <shell:label prop="uoRiferimento" /> </td> <td class="form-values" colspan="2"> <j:bind prop="uoRiferimento"> <j:select class="form-input" emptyOptionDescr="" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="operatoreRiferimento"> <tr> <td class="form-label"> <shell:label prop="operatoreRiferimento" /> </td> <td class="form-values" colspan="2"> <j:bind prop="operatoreRiferimento"> <j:select class="form-input" emptyOptionDescr="" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="cognomeAssistitoDa"> <tr> <td class="form-label"> <shell:label prop="cognomeAssistitoDa" /> </td> <td class="form-values"> ${j:bundle('LBL_ricercaDa')} <j:bind prop="cognomeAssistitoDa"> <j:select class="form-input" emptyOptionDescr="" /> <shell:error /> </j:bind> </td> <td class="form-values"> a: <j:bind prop="cognomeAssistitoA"> <j:select class="form-input" emptyOptionDescr="" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="nominativo"> <tr> <td class="form-label"> <shell:label prop="nominativoAssistito" /> </td> <td class="form-values"> cognome: <j:bind prop="cognomeAssistito"> <j:text class="form-normal-text" /> <shell:error /> </j:bind> </td> <td class="form-values"> nome: <j:bind prop="nomeAssistito"> <j:text class="form-normal-text" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="dataNascitaAssistitoDa"> <tr> <td class="form-label"> <shell:label prop="dataNascitaAssistitoDa" /> </td> <td class="form-values"> ${j:bundle('LBL_ricercaDa')} <j:bind prop="dataNascitaAssistitoDa"> <j:text class="form-date" id="dataNascitaAssistitoDa_cld" /> <shell:calendar inputId="dataNascitaAssistitoDa_cld" /> <shell:error /> </j:bind> </td> <td class="form-values"> a: <j:bind prop="dataNascitaAssistitoA"> <j:text class="form-date" id="dataNascitaAssistitoA_cld" /> <shell:calendar inputId="dataNascitaAssistitoA_cld" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="minuti"> <tr> <td class="form-label"> <shell:label prop="minuti" /> </td> <td class="form-values" colspan="2"> <j:bind prop="minuti"> <j:text class="form-short-text" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="classificazioneIntervento"> <tr> <td class="form-label"> <shell:label prop="classificazioneIntervento" /> </td> <td class="form-values" colspan="2"> <j:bind prop="classificazioneIntervento"> <j:select class="form-input" emptyOptionDescr="" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="classificazioneISTAT"> <tr> <td class="form-label"> <shell:label prop="classificazioneISTAT" /> </td> <td class="form-values" colspan="2"> <j:bind prop="classificazioneISTAT"> <j:select class="form-input" emptyOptionDescr="" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> <icare:estrazioniExistsParam name="numeroDetermina"> <tr> <td class="form-label"> <shell:label prop="numeroDetermina" /> </td> <td class="form-values" colspan="2"> <j:bind prop="numeroDetermina"> <j:text class="form-short-text" /> <shell:error /> </j:bind> </td> </tr> </icare:estrazioniExistsParam> </table> </shell:fieldset>