private void populateSearchCriteriaDataFromScreen()///WDEV-12925 { // If the Ward View was opened as a dialog then do not save the Search Criteria if (engine.isDialog()) return; if (form.cmbHospital().getValue() == null) { form.getGlobalContext().Core.setWardViewSearchCriteria(null); updateContextMenuState(); //WDEV-14586 return; } WardViewSearchCriteriaVo crit = new WardViewSearchCriteriaVo(); crit.setHospital(form.cmbHospital().getValue()); crit.setWard(form.cmbWard().getValue()); crit.setBay(form.cmbBay().getValue()); form.getGlobalContext().Core.setWardViewSearchCriteria(crit); updateContextMenuState(); //WDEV-14586 }
private void populateSearchCriteriaDataFromScreen()///WDEV-12925 { // If the Ward View was opened as a dialog then do not save the Search Criteria if (engine.isDialog()) { updateContextMenuState();//WDEV-20276 -1 return; } if (form.cmbHospital().getValue() == null) { form.getGlobalContext().Core.setWardViewSearchCriteria(null); updateContextMenuState(); //WDEV-14586 return; } WardViewSearchCriteriaVo crit = new WardViewSearchCriteriaVo(); crit.setHospital(form.cmbHospital().getValue()); crit.setWard(form.cmbWard().getValue()); crit.setBay(form.cmbBay().getValue()); form.getGlobalContext().Core.setWardViewSearchCriteria(crit); updateContextMenuState(); //WDEV-14586 }
private void populateSearchCriteriaDataFromScreen()///WDEV-12925 { if (form.cmbHospital().getValue() == null) { form.getGlobalContext().Core.setWardDataViewSearchCriteria(null); return; } WardViewSearchCriteriaVo crit = new WardViewSearchCriteriaVo(); crit.setHospital(form.cmbHospital().getValue()); crit.setWard(form.cmbWard().getValue()); form.getGlobalContext().Core.setWardDataViewSearchCriteria(crit); }