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")); }
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")); }); }); }