Package org.xdams.page.command

Examples of org.xdams.page.command.LookupCommand.execute()


  @RequestMapping(value = "/lookup/{archive}/{archiveLookup}")
  public String lookup(@ModelAttribute("userBean") UserBean userBean, @ModelAttribute("confBean") ConfBean confBean, @PathVariable String archive, @PathVariable String archiveLookup, @ModelAttribute("lookupBean") LookupBean lookupBean, ModelMap modelMap, HttpServletRequest request,
      HttpServletResponse response) throws Exception {
    common(confBean, userBean, archive, archiveLookup, modelMap, request, response);
    LookupCommand lookup = new LookupCommand(request.getParameterMap(), modelMap);
    lookup.execute();
    if (!lookupBean.getJspOutPut().equals("")) {
      return "lookup/" + StringUtils.remove(lookupBean.getJspOutPut(), ".jsp");
    } else {
      return "lookup/lookup";
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.