Example #1
0
 @Action(value = "doSearch")
 public String doSearch() throws Exception {
   if (searchFindEntity == null) {
     searchFindEntity = new SearchFindEntity();
   }
   searchFindEntity.setRows(50);
   pager = searchService.searchByKeyword(searchFindEntity);
   return "productSearch";
 }
Example #2
0
 @Action(value = "searchCatalog")
 public String searchCatalog() throws Exception {
   if (searchFindEntity == null) {
     searchFindEntity = new SearchFindEntity();
   }
   searchFindEntity.setRows(30);
   pager = searchService.searchByKeyword(searchFindEntity);
   psfsList = shopcartService.getPsfsList();
   return "productList";
 }