From 2050f034a4097934f31a4fc1714322026805ec1a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 15 May 2018 00:49:05 +0200 Subject: [PATCH] Product-only: - moved > of to new line to have newly added namspaces being added without causing 2 lines being changed - wrapped long JSF/PF tags having each attribute in a single line - added size, maxValue and minValue to productUnitAmount - onPostback has caused some side effect that values got overwritten in e.g. edit views - no longer using tableStyleClass - changed i18n strings, no need for having PRODUCT_ prefix on e.g. net/gross price strings - no longer using styleClass="submit|reset" - added process="@form" as a workaround for an exception, according to BalusC this is not fixing the actual application's misconfiguration (where which?) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- web/WEB-INF/product-links.jsf.taglib.xml | 10 +-- web/WEB-INF/product.jsf.taglib.xml | 10 +-- .../admin_generic_product_links.tpl | 3 +- .../admin_product_category_links.tpl | 3 +- .../product_price_input_panel_grid.tpl | 11 ++- .../admin_form_product_data.tpl | 32 ++++++--- .../admin_form_category_data.tpl | 10 ++- .../admin_generic_product_delete.xhtml | 17 ++--- .../admin_generic_product_edit.xhtml | 57 ++++++++++++--- .../admin_generic_product_list.xhtml | 70 ++++++++++++------- .../admin_generic_product_show.xhtml | 17 ++--- .../admin_product_category_list.xhtml | 53 +++++++++----- 12 files changed, 197 insertions(+), 96 deletions(-) diff --git a/web/WEB-INF/product-links.jsf.taglib.xml b/web/WEB-INF/product-links.jsf.taglib.xml index 151b235b..1d587aeb 100644 --- a/web/WEB-INF/product-links.jsf.taglib.xml +++ b/web/WEB-INF/product-links.jsf.taglib.xml @@ -15,10 +15,12 @@ GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . --> - + http://mxchange.org/jsf/jproduct/links outputProductCategoryAdminMiniLinks diff --git a/web/WEB-INF/product.jsf.taglib.xml b/web/WEB-INF/product.jsf.taglib.xml index bbe8e8d9..a33d611e 100644 --- a/web/WEB-INF/product.jsf.taglib.xml +++ b/web/WEB-INF/product.jsf.taglib.xml @@ -15,10 +15,12 @@ GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . --> - + http://mxchange.org/jsf/jproduct/widgets inputProductPricePanelGrid diff --git a/web/WEB-INF/resources/tags/admin/links/mini/generic_product/admin_generic_product_links.tpl b/web/WEB-INF/resources/tags/admin/links/mini/generic_product/admin_generic_product_links.tpl index 82c82599..4497520c 100644 --- a/web/WEB-INF/resources/tags/admin/links/mini/generic_product/admin_generic_product_links.tpl +++ b/web/WEB-INF/resources/tags/admin/links/mini/generic_product/admin_generic_product_links.tpl @@ -4,7 +4,8 @@ xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" - xmlns:p="http://primefaces.org/ui"> + xmlns:p="http://primefaces.org/ui" + >