From 496ca99bef2c1903a98a114caca3f87fd5bfdd03 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 29 Oct 2017 00:58:32 +0200 Subject: [PATCH] Maybe cherry-pick: - registered product taglib with web.xml (ops) - added title attributes to p:inputNumber tags for entering product price - needed to add thousandSeparator attribute as it will default to ',' which is maybe not valid/wanted in all languages (e.g. German language as a '.' as thousand separator and ',' for decimal seperation) - this has also fixed a JavaScript error causing some malfunction in views - labels are now shown correctly above each p:inputNumber field (product price) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../product/product_price_input_panel_grid.tpl | 16 +++++++++++++--- web/WEB-INF/web.xml | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/web/WEB-INF/resources/tags/input/panel_grid/product/product_price_input_panel_grid.tpl b/web/WEB-INF/resources/tags/input/panel_grid/product/product_price_input_panel_grid.tpl index 158d257c..4dfc5447 100644 --- a/web/WEB-INF/resources/tags/input/panel_grid/product/product_price_input_panel_grid.tpl +++ b/web/WEB-INF/resources/tags/input/panel_grid/product/product_price_input_panel_grid.tpl @@ -1,14 +1,21 @@ + - - + + + + + + + @@ -30,13 +39,14 @@ diff --git a/web/WEB-INF/web.xml b/web/WEB-INF/web.xml index e355a26a..dbce861c 100644 --- a/web/WEB-INF/web.xml +++ b/web/WEB-INF/web.xml @@ -30,7 +30,7 @@ Generic custom JSF tags library javax.faces.FACELETS_LIBRARIES - /WEB-INF/widgets.jsf.taglib.xml;/WEB-INF/links.jsf.taglib.xml;/WEB-INF/project-links.jsf.taglib.xml + /WEB-INF/widgets.jsf.taglib.xml;/WEB-INF/links.jsf.taglib.xml;/WEB-INF/project-links.jsf.taglib.xml;/WEB-INF/product.jsf.taglib.xml Project stage -- 2.39.5