code: @RequestMapping(value = "changeLog/fileFilter/{projectId}/{name}/update", method = RequestMethod.GET)
      public Form saveChangeLogFileFilterForm(@PathVariable ID projectId, @PathVariable String name) {
          Resource<SCMFileChangeFilter> filter = getChangeLogFileFilter(projectId, name);
          return Form.create()
                  .with(Text.of("name")
                          .label("Name")
                          .help("Name to use to save the filter.")
                          .readOnly()
                          .value(filter.getData().getName()))
                  .with(Memo.of("patterns")
                          .label("Filter(s)")
                          .help("List of ANT-like patterns (one per line).")
                          .value(filter.getData().getPatterns().stream().collect(Collectors.joining("\n"))))
                  ;
      }
docs: Updating form for a change log file filter