public String processProductsEnWebAction() { List imageList = DaoFactory.getModelColumnImageEnDao().queryModelColumnImageEnBy(imageType, imageLimit); super.setRequestAttribute("imageList", imageList); modelProduct = DaoFactory.getModelProductCategoryEnDao().queryModelProductEnById(productId); return SUCCESS; }
public String processProductsCustomerEnWebAction() { Pagination pi = DaoFactory.getModelProductCategoryEnDao() .queryModelProductEnWebPage(null, categoryId, pageMaxSize, pageNumber); List imageList = DaoFactory.getModelColumnImageEnDao().queryModelColumnImageEnBy(imageType, imageLimit); super.setRequestAttribute("imageList", imageList); super.setRequestAttribute("pages", pi); return SUCCESS; }