return new ActionTemplate(mapping, form, request, response).execute(
new AbstractActionCall(){
public String doInAction(ActionForm form, HttpServletRequest request, HttpServletResponse response) throws ServiceException {
ActionsHelper.rememberPage(request, "/fidelity/showFidelityOffers");
FidelityService fs = ServiceFactory.getFidelityService();
PricingService ps = ServiceFactory.getPricingService();
Product pStd = ps.getProduct("STD");
Product pPro = ps.getProduct("PRO250");
List ppStdPurchase = fs.getPointsByProduct(pStd, ProductPoint.PURCHASE);
List ppProPurchase = fs.getPointsByProduct(pPro, ProductPoint.PURCHASE);
List ppStdGodson = fs.getPointsByProduct(pStd, ProductPoint.GODSON);
List ppProGodson = fs.getPointsByProduct(pPro, ProductPoint.GODSON);
List offers = fs.getFidelityOffers();
request.setAttribute(Params.FIDELITY_OFFERS.SHOW_OFFERS.REQUEST.PP_PURCHASE_STD, ppStdPurchase);
request.setAttribute(Params.FIDELITY_OFFERS.SHOW_OFFERS.REQUEST.PP_PURCHASE_PRO, ppProPurchase);
request.setAttribute(Params.FIDELITY_OFFERS.SHOW_OFFERS.REQUEST.PP_GODSON_PURCHASE_STD, ppStdGodson);
request.setAttribute(Params.FIDELITY_OFFERS.SHOW_OFFERS.REQUEST.PP_GODSON_PURCHASE_PRO, ppProGodson);