@RequestMapping("/advertising/v_list.do")
public String list(Integer queryAdspaceId, Boolean queryEnabled,
Integer pageNo, HttpServletRequest request, ModelMap model) {
CmsSite site = CmsUtils.getSite(request);
Pagination pagination = manager.getPage(site.getId(), queryAdspaceId,
queryEnabled, cpn(pageNo), CookieUtils.getPageSize(request));
List<CmsAdvertisingSpace> adspaceList = cmsAdvertisingSpaceMng
.getList(site.getId());
model.addAttribute("pagination", pagination);
model.addAttribute("adspaceList", adspaceList);
model.addAttribute("pageNo", pagination.getPageNo());
if (queryAdspaceId != null) {
model.addAttribute("queryAdspaceId", queryAdspaceId);
}
if (queryEnabled != null) {
model.addAttribute("queryEnabled", queryEnabled);