protected void searchPaging(final RenderData data, final FailureUrlSearchForm form) { data.register( "failureUrlItems", failureUrlService.getFailureUrlList(failureUrlPager)); // page navi // restore from pager copyBeanToBean( failureUrlPager, form.searchParams, op -> op.exclude(Constants.PAGER_CONVERSION_RULE)); }
protected void searchPaging(final RenderData data, final SearchForm form) { RenderDataUtil.register( data, "failureUrlItems", failureUrlService.getFailureUrlList(failureUrlPager)); // page navi // restore from pager copyBeanToBean( failureUrlPager, form, op -> op.include("url", "errorCountMin", "errorCountMax", "errorName")); }
private HtmlResponse asListHtml() { return asHtml(path_AdminFailureurl_AdminFailureurlJsp) .renderWith( data -> { RenderDataUtil.register( data, "failureUrlItems", failureUrlService.getFailureUrlList(failureUrlPager)); // page navi }) .useForm( SearchForm.class, setup -> { setup.setup( form -> { copyBeanToBean( failureUrlPager, form, op -> op.include("url", "errorCountMin", "errorCountMax", "errorName")); }); }); }