From 0f66f8804677e5e963b70c197618abb100dc9f58 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 13 May 2023 13:13:40 +0200 Subject: [PATCH] Product-only: - added dynamic="true" when a very long list is expected --- .../admin/generic_product/admin_form_generic_product_data.tpl | 4 ++++ .../product_category/admin_form_product_category_data.tpl | 1 + web/admin/generic_product/admin_generic_product_list.xhtml | 2 ++ web/admin/product_category/admin_product_category_list.xhtml | 1 + 4 files changed, 8 insertions(+) diff --git a/web/WEB-INF/templates/admin/generic_product/admin_form_generic_product_data.tpl b/web/WEB-INF/templates/admin/generic_product/admin_form_generic_product_data.tpl index 503d4c61..ff69ae70 100644 --- a/web/WEB-INF/templates/admin/generic_product/admin_form_generic_product_data.tpl +++ b/web/WEB-INF/templates/admin/generic_product/admin_form_generic_product_data.tpl @@ -23,6 +23,7 @@ value="#{adminGenericProductActionController.productCategory}" filter="true" filterMatchMode="contains" + dynamic="true" required="true" requiredMessage="#{product.ADMIN_PRODUCT_CATEGORY_REQUIRED}" title="#{product.ADMIN_ASSIGN_PRODUCT_CATEGORY_TITLE}" @@ -94,6 +95,7 @@ value="#{adminGenericProductActionController.productAgeGroup}" filter="true" filterMatchMode="contains" + dynamic="true" title="#{product.ADMIN_SELECT_PRODUCT_AGE_GROUP_TITLE}" > @@ -127,6 +129,7 @@ value="#{adminGenericProductActionController.productManufacturer}" filter="true" filterMatchMode="contains" + dynamic="true" title="#{product.ADMIN_ASSIGN_PRODUCT_MANUFACTURER_TITLE}" > @@ -151,6 +154,7 @@ value="#{adminGenericProductActionController.productAvailability}" required="true" requiredMessage="#{product.ADMIN_GENERIC_PRODUCT_AVAILABILITY_REQUIRED}" + dynamic="true" title="#{product.ADMIN_ENABLE_PRODUCT_AVAILABILITY_TITLE}" /> diff --git a/web/WEB-INF/templates/admin/product_category/admin_form_product_category_data.tpl b/web/WEB-INF/templates/admin/product_category/admin_form_product_category_data.tpl index 9ba4fdbf..256751d4 100644 --- a/web/WEB-INF/templates/admin/product_category/admin_form_product_category_data.tpl +++ b/web/WEB-INF/templates/admin/product_category/admin_form_product_category_data.tpl @@ -20,6 +20,7 @@ value="#{adminProductCategoryActionController.parentCategory}" filter="true" filterMatchMode="contains" + dynamic="true" title="#{product.ADMIN_ASSIGN_PARENT_PRODUCT_CATEGORY_TITLE}" > diff --git a/web/admin/generic_product/admin_generic_product_list.xhtml b/web/admin/generic_product/admin_generic_product_list.xhtml index b974c56e..23c686e5 100644 --- a/web/admin/generic_product/admin_generic_product_list.xhtml +++ b/web/admin/generic_product/admin_generic_product_list.xhtml @@ -150,6 +150,7 @@