Class ListAutocompleteController


  • @Controller
    @RequestMapping("/autocomplete")
    public final class ListAutocompleteController
    extends AbstractVSpringMvcController
    Service web de l'autocomplete des listes.
    Author:
    npiedeloup
    • Constructor Detail

      • ListAutocompleteController

        public ListAutocompleteController()
    • Method Detail

      • searchFullText

        @PostMapping("/_searchFullText")
        @ResponseBody
        public List searchFullText​(ViewContext viewContext,
                                   @RequestParam("terms")
                                   String terms,
                                   @RequestParam("list")
                                   String list,
                                   @RequestParam("valueField")
                                   String valueField,
                                   @RequestParam("labelField")
                                   String labelField)
      • searchByValue

        @PostMapping("/_searchByValue")
        @ResponseBody
        public List searchByValue​(ViewContext viewContext,
                                  @RequestParam("value")
                                  String value,
                                  @RequestParam("list")
                                  String list,
                                  @RequestParam("valueField")
                                  String valueField,
                                  @RequestParam("labelField")
                                  String labelField)