private ElectiveListConfigSearchCriteriaVo populateSearchCriteriaDataFromScreen() { ElectiveListConfigSearchCriteriaVo searchCriteria = new ElectiveListConfigSearchCriteriaVo(); searchCriteria.setWaitingListName(form.txtWaitingListNameSearch().getValue()); searchCriteria.setService(form.qmbServiceSearch().getValue()); searchCriteria.setConsultant((HcpLiteVo) form.qmbConsultant().getValue()); searchCriteria.setHospital(form.qmbHospital().getValue()); searchCriteria.setFromDate(form.dteFrom().getValue()); searchCriteria.setToDate(form.dteTo().getValue()); searchCriteria.setActive(form.chkActiveSearch().getValue()); return searchCriteria; }