Package org.xdams.page.command

Examples of org.xdams.page.command.ViewPageCommand


  @RequestMapping(value = "/viewTab/{archive}/{pageName}", method = RequestMethod.GET)
  public String viewTab(@ModelAttribute("userBean") UserBean userBean, @ModelAttribute("confBean") ConfBean confBean, @PathVariable String archive, ModelMap modelMap, @PathVariable String pageName, HttpServletRequest request, HttpServletResponse response) throws Exception {
    modelMap.put("pageName", pageName);
    common(confBean, userBean, archive, modelMap, request, response);
    ViewPageCommand viewPageCommand = new ViewPageCommand(request.getParameterMap(), modelMap);
    viewPageCommand.execute();
    Map<String, String> mapParams = new TreeMap<String, String>();
    mapParams.put("viewTab", pageName);
    mapParams.put("frontUrl", (String) modelMap.get("frontUrl"));
    try {
      mapParams.put("mediaURL", this.getClass().getClassLoader().getResource(confBean.getMediaPath()).getPath());
View Full Code Here

TOP

Related Classes of org.xdams.page.command.ViewPageCommand

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.