예제 #1
0
  protected void searchPaging(final RenderData data, final SearchForm form) {
    RenderDataUtil.register(
        data, "fileConfigItems", fileConfigService.getFileConfigList(fileConfigPager)); // page navi

    // restore from pager
    copyBeanToBean(fileConfigPager, form, op -> op.include("id"));
  }
예제 #2
0
 private HtmlResponse asListHtml() {
   return asHtml(path_AdminFileconfig_AdminFileconfigJsp)
       .renderWith(
           data -> {
             RenderDataUtil.register(
                 data,
                 "fileConfigItems",
                 fileConfigService.getFileConfigList(fileConfigPager)); // page navi
           })
       .useForm(
           SearchForm.class,
           setup -> {
             setup.setup(
                 form -> {
                   copyBeanToBean(fileConfigPager, form, op -> op.include("id"));
                 });
           });
 }