private void populateAllergies(PatientAllergyForSummaryOverviewVoCollection patientAllergies) { if (patientAllergies == null) return; for (int i = 0 ; i < patientAllergies.size() ; i++) { PatientAllergyForSummaryOverviewVo x = patientAllergies.get(i); grdAllergiesRow newRow = form.grdAllergies().getRows().newRow(); newRow.setColumnName(x.getAllergenDescription()); newRow.setTooltip(x.getAllergenDescription()); } }