<%@ include file="/project/include.jsp"%> <script type="text/javascript" src="${j:getResourceUrlOfModule('commons','js/utils.js') }"></script> <script type="text/javascript"> function chooseUOCal() { parent.hideModal('viewChooseUO'); var idUO = getComboValue('unitaOperativa'); parent.changeUOCal(idUO); } function getComboValue(comboId) { var combo = document.getElementById(comboId); if (combo) { var selectedIndex = combo.selectedIndex; if (selectedIndex != -1) { return combo.options[selectedIndex].value; } } return ''; } </script> <j:form id="formSendTo" name="formSendTo" method="POST" beanClassName="it.cedaf.icare.calendario.control.binding.requestbean.ChooseUOCalendarioRequestBean" clientValidatorProvider="it.cedaf.juice.mvc.modules.shell.view.helper.JavascriptClientValidatorProvider"> <table border="0" cellspacing="3" cellpadding="0" width="99%"> <tr> <td class="form-label"> <span>Unit� Operativa</span> </td> <td class="form-values"> <j:bind prop="unitaOperativa"> <j:select id="unitaOperativa" class="form-input" emptyOptionDescr=" " /> <shell:error /> </j:bind> </td> </tr> <tr> <td class="form-values" colspan="2" align="center"> <br> <button class="generic-button ui-state-default ui-corner-all" onclick="javascript:return chooseUOCal();">Conferma</button> </td> </tr> </table> </j:form>