From bafca5c6afc6e17bb6063866708b9c3307f5efd1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 8 Apr 2020 20:39:21 +0200 Subject: [PATCH] Product-only: - renamed adminGenericProductActionController.product -> adminGenericProductActionController.currentProduct - p:message is here not required as p:growl does the job nicely already - reformatted p:outputLabel/p:inputText to have each attribute in separate line MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- web/WEB-INF/product.jsf.taglib.xml | 18 --------- .../admin_form_generic_product_data.tpl | 40 +++++++++---------- .../admin_generic_product_delete.xhtml | 2 +- .../admin_generic_product_edit.xhtml | 21 +++------- .../admin_generic_product_list.xhtml | 18 ++++++--- .../admin_generic_product_show.xhtml | 2 +- .../admin_product_category_list.xhtml | 19 +++++++-- 7 files changed, 56 insertions(+), 64 deletions(-) rename web/WEB-INF/{resources/tags/forms => templates/admin}/generic_product/admin_form_generic_product_data.tpl (82%) diff --git a/web/WEB-INF/product.jsf.taglib.xml b/web/WEB-INF/product.jsf.taglib.xml index 420bc19a..d9254e25 100644 --- a/web/WEB-INF/product.jsf.taglib.xml +++ b/web/WEB-INF/product.jsf.taglib.xml @@ -40,22 +40,4 @@ along with this program. If not, see . org.mxchange.jcoreee.bean.faces.BaseFacesBean - - genericProductForm - A tag for generic product forms. - resources/tags/forms/generic_product/admin_form_generic_product_data.tpl - - targetController - A target backing bean (EL code resolving into it) extending at least BaseFacesBean where to set the data in. - true - - org.mxchange.jcoreee.bean.faces.BaseFacesBean - - - allowDuplicates - Whether to allow duplicate i18n keys. - false - java.lang.Boolean - - diff --git a/web/WEB-INF/resources/tags/forms/generic_product/admin_form_generic_product_data.tpl b/web/WEB-INF/templates/admin/generic_product/admin_form_generic_product_data.tpl similarity index 82% rename from web/WEB-INF/resources/tags/forms/generic_product/admin_form_generic_product_data.tpl rename to web/WEB-INF/templates/admin/generic_product/admin_form_generic_product_data.tpl index 69bd1176..3d0c8231 100644 --- a/web/WEB-INF/resources/tags/forms/generic_product/admin_form_generic_product_data.tpl +++ b/web/WEB-INF/templates/admin/generic_product/admin_form_generic_product_data.tpl @@ -20,7 +20,7 @@ - + - - + diff --git a/web/admin/generic_product/admin_generic_product_delete.xhtml b/web/admin/generic_product/admin_generic_product_delete.xhtml index 20c7a40b..0aba7fc3 100644 --- a/web/admin/generic_product/admin_generic_product_delete.xhtml +++ b/web/admin/generic_product/admin_generic_product_delete.xhtml @@ -13,7 +13,7 @@ - - - + - + @@ -62,10 +54,7 @@ - + diff --git a/web/admin/generic_product/admin_generic_product_list.xhtml b/web/admin/generic_product/admin_generic_product_list.xhtml index 6a2775d9..77c97c08 100644 --- a/web/admin/generic_product/admin_generic_product_list.xhtml +++ b/web/admin/generic_product/admin_generic_product_list.xhtml @@ -2,7 +2,6 @@ - - + + + @@ -368,7 +376,7 @@ - + @@ -380,7 +388,7 @@ diff --git a/web/admin/generic_product/admin_generic_product_show.xhtml b/web/admin/generic_product/admin_generic_product_show.xhtml index 3069dcb1..0a73f314 100644 --- a/web/admin/generic_product/admin_generic_product_show.xhtml +++ b/web/admin/generic_product/admin_generic_product_show.xhtml @@ -13,7 +13,7 @@ - + - - + + + -- 2.39.5