private RACPStopTestReasonCollection populateStopReasonsFromGrd() { RACPStopTestReasonCollection collRACPStopTestReason = new RACPStopTestReasonCollection(); for (int i = 0; i < form.grdReason().getRows().size(); i++) { grdReasonRow row = form.grdReason().getRows().get(i); if(row.getcolSelect()) collRACPStopTestReason.add(row.getValue()); } if(collRACPStopTestReason.size()==0) return null; return collRACPStopTestReason; }