Exemplo n.º 1
0
 public String processProductsEnWebAction() {
   List imageList =
       DaoFactory.getModelColumnImageEnDao().queryModelColumnImageEnBy(imageType, imageLimit);
   super.setRequestAttribute("imageList", imageList);
   modelProduct = DaoFactory.getModelProductCategoryEnDao().queryModelProductEnById(productId);
   return SUCCESS;
 }
Exemplo n.º 2
0
 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;
 }