Esempio n. 1
0
 /*    */ @RequestMapping({"/board/list.jsp"})
 /*    */ public String list(
     Integer pageNo,
     Integer count,
     HttpServletRequest request,
     HttpServletResponse response,
     ModelMap model)
       /*    */ {
   /* 69 */ Site site = ContextTools.getSite(request);
   /* 70 */ Page page =
       this.service.getPage(
           null,
           site.getId(),
           Boolean.valueOf(true),
           null,
           null,
           /* 71 */ pageNo.intValue(),
           count.intValue());
   /* 72 */ model.addAttribute("page", page);
   /* 73 */ ViewTools.frontData(request, model, site);
   /* 74 */ response.setHeader("Cache-Control", "no-cache");
   /* 75 */ response.setContentType("text/json;charset=UTF-8");
   /* 76 */ return ViewTools.getTplPath(
       null, site.getSolutionPath(), /* 77 */ "common/tags", "board_list");
   /*    */ }
Esempio n. 2
0
 /*    */ @RequestMapping(
     value = {"/messageboard.jsp"},
     method = {org.springframework.web.bind.annotation.RequestMethod.GET})
 /*    */ public String input(HttpServletRequest request, ModelMap model) /*    */ {
   /* 42 */ Site site = ContextTools.getSite(request);
   /* 43 */ List typeList = this.typeService.getList(site.getId(), null, /* 44 */ null);
   /* 45 */ model.addAttribute("typeList", typeList);
   /* 46 */ ViewTools.frontData(request, model, site);
   /* 47 */ return ViewTools.getTplPath(
       request, site.getSolutionPath(), /* 48 */ "extrafunc/board", "tpl.boardInput");
   /*    */ }