@RequestMapping(method = RequestMethod.GET)
public ModelAndView forumsHandler(HttpServletRequest req,
@RequestParam(value = "uniqueForumID", required = false)
String uniqueForumID) throws InfrastructureException {
ModelMap rtn = ControllerUtil.getModelMap(req, userService);
if (uniqueForumID != null) {
rtn.addAttribute("uniqueForumID", uniqueForumID);
} else {
RecentForumPostTopic rfpt = new RecentForumPostTopic();
PostsList postList = schoolService.getForum(rfpt, 0, 15);
ForumBootstrap bootstrap = new ForumBootstrap(gwtSerializer,
postList, rfpt);
rtn.addAttribute("bootstrap", bootstrap);
}
return new ModelAndView("forums", rtn);