Campaign c = (Campaign) req.getAttribute(WebKeys.CAMPAIGN_EDIT);
req.setAttribute(WebKeys.RECIPIENT_LIST, RecipientFactory.getOpenedRecipientsByCampaign(c));
req.setAttribute(WebKeys.RECIPIENT_LIST_TITLE, "Opened");
}
private void _viewCampaignReportErrors(ActionRequest req, ActionResponse res,ActionForm form,User user) throws Exception {
Campaign c = (Campaign) req.getAttribute(WebKeys.CAMPAIGN_EDIT);
req.setAttribute(WebKeys.RECIPIENT_LIST, RecipientFactory.getRecipientsWithErrorsByCampaign(c));
req.setAttribute(WebKeys.RECIPIENT_LIST_TITLE, "Errors/Bounces");
}