private void populateScreen(HomeVisitVo voHomeVisit) { form.getLocalContext().setVisitSummaryVo(null); if(voHomeVisit == null) return; form.customControlAuthoring().setValue(voHomeVisit.getAuthoringInformation()); if(voHomeVisit.getHouseDetailsIsNotNull() && voHomeVisit.getHouseDetails().getAddressIsNotNull()) form.txtAddress().setValue(voHomeVisit.getHouseDetails().getAddress()); VisitSummaryVo voVisitSummary = voHomeVisit.getVisitSummary(); if(voVisitSummary!=null) { form.txtProblems().setValue(voVisitSummary.getProblemsIdentified()); form.txtRecommendations().setValue(voVisitSummary.getRecommendations()); form.txtEquipmentReqs().setValue(voVisitSummary.getEquipment()); form.txtConclusions().setValue(voVisitSummary.getConclusions()); } form.getLocalContext().setHomeVisitVo(voHomeVisit); form.getLocalContext().setVisitSummaryVo(voHomeVisit.getVisitSummary()); }