]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Product-only:
authorRoland Häder <roland@mxchange.org>
Wed, 12 Jun 2019 07:01:54 +0000 (09:01 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 12 Jun 2019 07:01:54 +0000 (09:01 +0200)
- added barcode to administrative "list" view for products
- undone swapping out form to include (also later own JSF tags, sorry) as this
  was a bad idea, it was then unsafe due to missing auto-completion
- fixed some UTF-8 encoding
- added missing i18n string(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/localization/product_de_DE.properties
src/java/org/mxchange/localization/product_en_US.properties
web/WEB-INF/templates/admin/product_category/admin_form_category_data.tpl [deleted file]
web/admin/generic_product/admin_generic_product_list.xhtml
web/admin/product_category/admin_product_category_list.xhtml

index 1e0af8c1301fa3d122afa156c03ab99291d58eb6..fcafefd63b203544c5f652a580c807264e8ce4e8 100644 (file)
@@ -25,11 +25,10 @@ ADMIN_PRODUCT_HEADER=Produkt:
 LABEL_PRODUCTS=Produkte
 #@TODO Please fix German umlauts!
 ADMIN_PRODUCT_REQUIRED=Bitte waehlen Sie ein Produkt aus.
-ADMIN_MENU_PRODUCTS_CATEGORIES_TITLE=Produkte & Kategorien
 ADMIN_LINK_LIST_GENERIC_PRODUCTS=Produkte auflisten
 ADMIN_LINK_LIST_GENERIC_PRODUCTS_TITLE=Auflisten und verwalten von allgemeinen Produkten.
-ADMIN_LINK_LIST_CATEGORIES=Produktkategorien
-ADMIN_LINK_LIST_CATEGORIES_TITLE=Auflisten und verwalten von Produktkategorien.
+ADMIN_LINK_LIST_PRODUCT_CATEGORIES=Produktkategorien
+ADMIN_LINK_LIST_PRODUCT_CATEGORIES_TITLE=Auflisten und verwalten von Produktkategorien.
 PAGE_TITLE_ADMIN_LIST_GENERIC_PRODUCT=Produkte auflisten
 CONTENT_TITLE_ADMIN_LIST_GENERIC_PRODUCT=Produkte auflisten:
 TABLE_SUMMARY_ADMIN_LIST_GENERIC_PRODUCTS=Diese Tabelle listet alle eingetragenen Produkte auf.
@@ -56,11 +55,11 @@ ADMIN_ADD_GENERIC_PRODUCT_MINIMUM_DATA=Bitte waehlen Sie eine Produktkategorie a
 ADMIN_GENERIC_PRODUCT_DATA_LEGEND=Produktdaten eingeben:
 ADMIN_ASSIGN_PRODUCT_CATEGORY=Zum Produkt zugewiesene Kategorie:
 #@TODO Please fix German umlauts!
-ADMIN_ENTER_GENERIC_PRODUCT_I18N_KEY=Uebersetzungsschluessel zum Produkt eingeben:
+ADMIN_ENTER_GENERIC_PRODUCT_I18N_KEY=Uebersetzungsschl\u00fcssel zum Produkt eingeben:
 ADMIN_ENABLE_PRODUCT_AVAILABILITY=Ist das Produkt verf\u00fcgbar:
 ADMIN_ASSIGN_PRODUCT_CATEGORY_TITLE=Waehlen Sie die Produktkategorie zum neu hinzuzuf\u00fcgenden Produkt aus.
 #@TODO Please fix German umlauts!
-ADMIN_ENTER_GENERIC_PRODUCT_I18N_KEY_TITLE=Geben Sie den Uebersetzungsschluessel zum Produkt ein. Dieser darf nur einmal existieren.
+ADMIN_ENTER_GENERIC_PRODUCT_I18N_KEY_TITLE=Geben Sie den Uebersetzungsschl\u00fcssel zum Produkt ein. Dieser darf nur einmal existieren.
 #@TODO Please fix German umlauts!
 ADMIN_ENABLE_PRODUCT_AVAILABILITY_TITLE=Waehlen Sie aus, ob das Produkt verf\u00fcgbar/aktiv ist.
 #@TODO Please fix German umlauts!
@@ -72,7 +71,7 @@ BUTTON_ADMIN_ADD_GENERIC_PRODUCT=Produkt hinzuf\u00fcgen
 #@TODO Please fix German umlauts!
 ADMIN_PRODUCT_CATEGORY_REQUIRED=Bitte waehlen Sie eine Produktkategorie aus.
 #@TODO Please fix German umlauts!
-ADMIN_PRODUCT_I18N_KEY_REQUIRED=Bitte geben Sie einen Uebersetzungsschluessel f\u00fcr das Produkt ein.
+ADMIN_PRODUCT_I18N_KEY_REQUIRED=Bitte geben Sie einen Uebersetzungsschl\u00fcssel f\u00fcr das Produkt ein.
 PAGE_TITLE_ADMIN_LIST_PRODUCT_CATEGORY=Produktkategorien auflisten
 CONTENT_TITLE_ADMIN_LIST_PRODUCT_CATEGORY=Produktkategorien auflisten:
 TABLE_SUMMARY_ADMIN_LIST_PRODUCT_CATEGORIES=Diese Tabelle listet alle eingetragenen Produktkategorien auf.
@@ -88,20 +87,20 @@ ADMIN_PRODUCT_CATEGORY_DATA_LEGEND=Daten zur Produktkategorie:
 ADMIN_ASSIGN_PARENT_PRODUCT_CATEGORY=Elternkategorie zuweisen:
 ADMIN_ASSIGN_PARENT_PRODUCT_CATEGORY_TITLE=Weisen Sie eine andere Produktkategorie als Elternkategorie zu dieser neuen zu.
 #@TODO Please fix German umlauts!
-ADMIN_ENTER_CATEGORY_I18N_KEY=I18N-Schluessel f\u00fcr Kategorie eingeben:
+ADMIN_ENTER_CATEGORY_I18N_KEY=Uebersetzungsschl\u00fcssel f\u00fcr Kategorie eingeben:
 #@TODO Please fix German umlauts!
-ADMIN_ENTER_CATEGORY_I18N_KEY_TITLE=Geben Sie den I18N-Schluessel zur Produktkategorie ein (Beispiel: CATEGORY_CONSUMABLES).
+ADMIN_ENTER_CATEGORY_I18N_KEY_TITLE=Geben Sie den Uebersetzungsschl\u00fcssel zur Produktkategorie ein (Beispiel: CATEGORY_CONSUMABLES).
 #@TODO Please fix German umlauts!
-ADMIN_CATEGORY_I18N_KEY_REQUIRED=Bitte geben Sie den I18N-Schluessel zur Produktkategorie ein.
+ADMIN_CATEGORY_I18N_KEY_REQUIRED=Bitte geben Sie den Uebersetzungsschl\u00fcssel zur Produktkategorie ein.
 ADMIN_ENABLE_CATEGORY_IN_STATISTICS=Soll die Kategorie in Statistiken auftauchen:
 ADMIN_ENABLE_CATEGORY_IN_STATISTICS_TITLE=Waehlen Sie aus, ob diese Kategorie in Statistiken aufytauchen soll.
 ADMIN_ENABLE_CATEGORY_IN_STATISTICS_REQUIRED=Bitte waehlen Sie aus, ob diese Kategorie in Statistiken auftauchen soll.
 #@TODO Please fix German umlauts!
-ADMIN_ENTERED_CATEGORY_I18N_KEY_ALREADY_ADDED=Der von Ihnen eingegebene Uebersetzungsschluessel f\u00fcr die Kategorie ist bereits vorhanden. Bitte gebene Sie einen anderen an.
+ADMIN_ENTERED_CATEGORY_I18N_KEY_ALREADY_ADDED=Der von Ihnen eingegebene Uebersetzungsschl\u00fcssel f\u00fcr die Kategorie ist bereits vorhanden. Bitte gebene Sie einen anderen an.
 #@TODO Please fix German umlauts!
-ADMIN_ENTERED_PRODUCT_I18N_KEY_ALREADY_ADDED=Der von Ihnen eingegebene Uebersetzungsschluessel f\u00fcr das Produkt ist bereits vorhanden. Bitte gebene Sie einen anderen an.
+ADMIN_ENTERED_PRODUCT_I18N_KEY_ALREADY_ADDED=Der von Ihnen eingegebene Uebersetzungsschl\u00fcssel f\u00fcr das Produkt ist bereits vorhanden. Bitte gebene Sie einen anderen an.
 #@TODO Please fix German umlauts!
-ADMIN_ENTER_GENERIC_PRODUCT_UNIT_I18N_KEY=Uebersetzungschluessel der Einheit f\u00fcr St\u00fcckzahl eingeben:
+ADMIN_ENTER_GENERIC_PRODUCT_UNIT_I18N_KEY=Uebersetzungschl\u00fcssel der Einheit f\u00fcr St\u00fcckzahl eingeben:
 ADMIN_ENTER_GENERIC_PRODUCT_UNIT_I18N_KEY_TITLE=Geben Sie hier die Einheit f\u00fcr die Produktst\u00fcckzahl ein, wie z.B. "UNT_TYPE_MILLI_LITER" f\u00fcr Milliliter oder "UNT_TYPE_GRAMS" f\u00fcr Gramm.
 ADMIN_ASSIGN_PRODUCT_MANUFACTURER=Hersteller dem Produkt zuweisen:
 #@TODO Please fix German umlauts!
@@ -112,7 +111,7 @@ ENTER_RAND_NAME_TITLE=Geben Sie das Warenzeichen ein, dass Sie auf dem Kassenbon
 ADMIN_PRODUCT_CURRENCY_CODE_REQUIRED=Bitte geben Sie den Waehrungscode f\u00fcr das Produkt ein. Beispiele: EUR, USD, PHP
 ADMIN_PRODUCT_UNIT_AMOUNT_REQUIRED=Bitte geben Sie die St\u00fcckanzahl des Produktes ein. Beispiel: 500 f\u00fcr 500g
 #@TODO Please fix German umlauts!
-ADMIN_PRODUCT_UNIT_I18N_KEY_REQUIRED=Bitte geben Sie den Uebersetzungschluessel zur St\u00fcckzahl ein. Beispiel: UNIT_TYPE_GRAMS f\u00fcr Gramm
+ADMIN_PRODUCT_UNIT_I18N_KEY_REQUIRED=Bitte geben Sie den Uebersetzungschl\u00fcssel zur St\u00fcckzahl ein. Beispiel: UNIT_TYPE_GRAMS f\u00fcr Gramm
 ADMIN_NO_PRODUCT_MANUFACTURER_ASSIGNED_TITLE=Es ist kein Hersteller dem Produkt zugewiesen.
 ADMIN_ENTER_GENERIC_PRODUCT_NUMBER=Geben Sie die Produktnummer ein:
 ADMIN_ENTER_GENERIC_PRODUCT_NUMBER_TITLE=Geben Sie die Nummer des Produktes ein.
@@ -134,7 +133,7 @@ ADMIN_PRODUCT_DETAILS_HEADER=Details zum Produkt "{0}" (Id {1}):
 ADMIN_SINGLE_PRODUCT_DETAILS_HEADER=Details zum einzelnen Produkt
 PRODUCT_ID_NUMBER_TITLE=Id-Nummer des Produktes
 #@TODO Please fix German umlauts!
-PRODUCT_I18N_KEY_TITLE=Internationalisierungsschluessel f\u00fcr das Produkt.
+PRODUCT_I18N_KEY_TITLE=Uebersetzungsschl\u00fcssel f\u00fcr das Produkt.
 PRODUCT_AVAILABILITY_TITLE=Ob das Produkt zur Verf\u00fcgung steht.
 AGE_GROUP_HEADER=Altersgruppe:
 PRODUCT_AGE_GROUP_TITLE=Altersgruppe des Produktes.
@@ -153,9 +152,9 @@ PRODUCT_SIZE_HEADER=Produktgroesse:
 PRODUCT_UNIT_AMOUNT_HEADER=Produktmenge:
 PRODUCT_UNIT_AMOUNT_TITLE=Mengenangabe des Produktes
 #@TODO Please fix German umlauts!
-PRODUCT_UNIT_I18N_KEY_HEADER=Internationalisierungsschluessel f\u00fcr Einheit:
+PRODUCT_UNIT_I18N_KEY_HEADER=Uebersetzungsschl\u00fcssel f\u00fcr Einheit:
 #@TODO Please fix German umlauts!
-PRODUCT_UNIT_I18N_KEY_TITLE=Internationalisierungsschluessel f\u00fcr Einheit
+PRODUCT_UNIT_I18N_KEY_TITLE=Uebersetzungsschl\u00fcssel f\u00fcr Einheit
 PRODUCT_HAS_NO_MANUFACTURER_ASSIGNED=Produkt hat keinen Hersteller zugewiesen.
 ADMIN_ASSIGNED_PRODUCT_MANUFACTURER_TITLE=Diesem Produkt zugewiesner Hersteller.
 ADMIN_PRODUCT_ENTRY_CREATED_TITLE=Wann dieses Produkt der Datenbank hinzugef\u00fcgt wurde.
@@ -164,7 +163,7 @@ ADMIN_SINGLE_CATEGORY_DETAILS_HEADER=Details zur einzelnen Kategorie
 ADMIN_CATEGORY_DETAILS_HEADER=Details zur Kategorie "{0}" (Id {1}):
 CATEGORY_ID_NUMBER_TITLE=Id-Nummer der Kategorie
 #@TODO Please fix German umlauts!
-CATEGORY_I18N_KEY_TITLE=Internationalisationsschluessel f\u00fcr Kategorie
+CATEGORY_I18N_KEY_TITLE=Uebersetzungsschl\u00fcssel f\u00fcr Kategorie
 CATEGORY_IN_STATISTICS_HEADER=In Statistiken:
 CATEGORY_SHOW_IN_STATISTICS_TITLE=Ob diese Kategorie in Statistiken vorkommt.
 CATEGORY_PARENT_HEADER=Elternkategorie:
@@ -179,9 +178,8 @@ PAGE_TITLE_ADMIN_GENERIC_PRODUCT_DELETE=Produkt loeschen
 #@TODO Please fix German umlauts!
 CONTENT_TITLE_ADMIN_GENERIC_PRODUCT_DELETE=Produkt loeschen:
 ERROR_PARAMETER_PRODUCT_ID_NOT_SET=Fehler: Produkt-Id nicht gesetzt (Parameter: productId).
-#@TODO Please fix German umlauts!
-PARAMETER_PRODUCT_ID_INVALID=Parameter "productId" ist ungueltig.
-PRODUCT_I18N_KEY_HEADER=Internationalisierungsschluessel des Produktes:
+PARAMETER_PRODUCT_ID_INVALID=Parameter "productId" ist ung\u00fcltig.
+PRODUCT_I18N_KEY_HEADER=Uebersetzungsschl\u00fcssel des Produktes:
 GROSS_PRICE_HEADER=Bruttopreis:
 NET_PRICE_HEADER=Nettopreis:
 TAX_RATE_HEADER=Steuersatz:
@@ -204,3 +202,5 @@ ADMIN_ASSIGN_PARENT_PRODUCT_CATEGORY=Elternkategorie zuweisen:
 ENTER_BRAND_NAME=Markenzeichen eingeben:
 ENTER_BRAND_NAME_TITLE=Geben Sie das Markenzeichen zum Produkt ein.
 ADMIN_PRODUCT_MANUFACTURER_HEADER=Hersteller des Produktes:
+ADMIN_PRODUCT_BARCODE_HEADER=Barcode:
+ADMIN_MENU_PRODUCTS_CATEGORIES_TITLE=Produkte & Kategorien
index ed337e6f0246f4df3be2596fb1685271c35c467a..a39c39ae0f7e2304238fb9960f90836132c78644 100644 (file)
@@ -24,11 +24,10 @@ ENTER_GROSS_PRICE=Gross price:
 ADMIN_PRODUCT_HEADER=Product:
 LABEL_PRODUCTS=Products
 ADMIN_PRODUCT_REQUIRED=Please choose a product.
-ADMIN_MENU_PRODUCTS_CATEGORIES_TITLE=Products & Categories
 ADMIN_LINK_LIST_GENERIC_PRODUCTS=Products
 ADMIN_LINK_LIST_GENERIC_PRODUCTS_TITLE=Lists and manages generic products.
-ADMIN_LINK_LIST_CATEGORIES=Product categories
-ADMIN_LINK_LIST_CATEGORIES_TITLE=Lists and manages product categories.
+ADMIN_LINK_LIST_PRODUCT_CATEGORIES=Product categories
+ADMIN_LINK_LIST_PRODUCT_CATEGORIES_TITLE=Lists and manages product categories.
 PAGE_TITLE_ADMIN_LIST_GENERIC_PRODUCT=List products
 CONTENT_TITLE_ADMIN_LIST_GENERIC_PRODUCT=List products:
 TABLE_SUMMARY_ADMIN_LIST_GENERIC_PRODUCTS=This table lists all products.
@@ -167,3 +166,5 @@ ADMIN_ASSIGN_PARENT_PRODUCT_CATEGORY=Assign parent category:
 ENTER_BRAND_NAME=Enter brand name:
 ENTER_BRAND_NAME_TITLE=Enter brand name of product.
 ADMIN_PRODUCT_MANUFACTURER_HEADER=Manufacturer of product:
+ADMIN_PRODUCT_BARCODE_HEADER=Barcode:
+ADMIN_MENU_PRODUCTS_CATEGORIES_TITLE=Products & Categories
diff --git a/web/WEB-INF/templates/admin/product_category/admin_form_category_data.tpl b/web/WEB-INF/templates/admin/product_category/admin_form_category_data.tpl
deleted file mode 100644 (file)
index 7b525bf..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--
-@TODO: title="#{product.ADMIN_PRODUCT_CATEGORY_DATA_LEGEND_TITLE}"
--->
-<ui:composition
-       xmlns="http://www.w3.org/1999/xhtml"
-       xmlns:f="http://xmlns.jcp.org/jsf/core"
-       xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
-       xmlns:p="http://primefaces.org/ui"
-       >
-
-       <p:fieldset legend="#{product.ADMIN_PRODUCT_CATEGORY_DATA_LEGEND}">
-               <p:panelGrid
-                       layout="grid"
-                       columns="2"
-                       columnClasses="ui-grid-col-4,ui-grid-col-8"
-                       styleClass="ui-noborder"
-                       >
-                       <p:outputLabel for="parentCategory" value="#{product.ADMIN_ASSIGN_PARENT_PRODUCT_CATEGORY}" />
-                       <p:selectOneMenu
-                               id="parentCategory"
-                               value="#{adminCategoryController.parentCategory}"
-                               filter="true"
-                               filterMatchMode="contains"
-                               title="#{product.ADMIN_ASSIGN_PARENT_PRODUCT_CATEGORY_TITLE}"
-                               >
-
-                               <f:converter converterId="ProductCategoryConverter" />
-
-                               <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
-
-                               <f:selectItems
-                                       value="#{categoryListController.allCategories}"
-                                       var="category"
-                                       itemValue="#{category}"
-                                       itemLabel="#{productBeanHelper.renderProductCategory(category)}"
-                                       />
-                       </p:selectOneMenu>
-
-                       <p:outputLabel for="categoryI18nKey" value="#{product.ADMIN_ENTER_CATEGORY_I18N_KEY}" />
-                       <p:inputText
-                               id="categoryI18nKey"
-                               value="#{adminCategoryController.categoryI18nKey}"
-                               maxlength="255"
-                               required="true"
-                               requiredMessage="#{product.ADMIN_CATEGORY_I18N_KEY_REQUIRED}"
-                               title="#{product.ADMIN_ENTER_CATEGORY_I18N_KEY_TITLE}"
-                               validatorMessage="#{product.ADMIN_ENTERED_CATEGORY_I18N_KEY_ALREADY_ADDED}"
-                               >
-                               <f:validator validatorId="ProductCategoryValidator" />
-                       </p:inputText>
-
-                       <p:outputLabel for="categoryShownInStatistics" value="#{product.ADMIN_ENABLE_CATEGORY_IN_STATISTICS}" />
-                       <p:selectBooleanCheckbox
-                               id="categoryShownInStatistics"
-                               value="#{adminCategoryController.categoryShownInStatistics}"
-                               required="true"
-                               requiredMessage="#{product.ADMIN_ENABLE_CATEGORY_IN_STATISTICS_REQUIRED}"
-                               title="#{product.ADMIN_ENABLE_CATEGORY_IN_STATISTICS_TITLE}"
-                               />
-               </p:panelGrid>
-       </p:fieldset>
-</ui:composition>
index 3f472749a8c200eb430b2a6c53131718eb27c951..86362c12fb6b987f7e5b76e7f82e0803ac814934 100644 (file)
                                        <h:outputText value="-" rendered="#{empty genericProduct.productNumber}" />
                                </p:column>
 
+                               <p:column
+                                       headerText="#{product.ADMIN_PRODUCT_BARCODE_HEADER}"
+                                       sortBy="#{genericProduct.productBarCodeNumber}"
+                                       filterBy="#{genericProduct.productBarCodeNumber}"
+                                       filterMatchMode="contains"
+                                       >
+                                       <h:outputText value="#{genericProduct.productBarCodeNumber}" rendered="#{not empty genericProduct.productBarCodeNumber}" />
+                                       <h:outputText value="-" rendered="#{empty genericProduct.productBarCodeNumber}" />
+                               </p:column>
+
                                <p:column
                                        headerText="#{product.ADMIN_PRODUCT_CATEGORY_HEADER}"
                                        sortBy="#{genericProduct.productCategory}"
index a5b9f8d4c658618e336af20ab0e4874c8f457c9c..9a60a8436039f77d859b3dd3c2cdb43e18f633ae 100644 (file)
                                        <h:outputText value="#{product.ADMIN_ADD_PRODUCT_CATEGORY_MINIMUM_DATA}" />
                                </h:panelGroup>
 
-                               <ui:include src="/WEB-INF/templates/admin/product_category/admin_form_category_data.tpl" />
+                               <p:fieldset legend="#{product.ADMIN_PRODUCT_CATEGORY_DATA_LEGEND}">
+                                       <p:panelGrid
+                                               layout="grid"
+                                               columns="2"
+                                               columnClasses="ui-grid-col-4,ui-grid-col-8"
+                                               styleClass="ui-noborder"
+                                               >
+                                               <p:outputLabel for="parentCategory" value="#{product.ADMIN_ASSIGN_PARENT_PRODUCT_CATEGORY}" />
+                                               <p:selectOneMenu
+                                                       id="parentCategory"
+                                                       value="#{adminCategoryController.parentCategory}"
+                                                       filter="true"
+                                                       filterMatchMode="contains"
+                                                       title="#{product.ADMIN_ASSIGN_PARENT_PRODUCT_CATEGORY_TITLE}"
+                                                       >
+
+                                                       <f:converter converterId="ProductCategoryConverter" />
+
+                                                       <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" />
+
+                                                       <f:selectItems
+                                                               value="#{categoryListController.allCategories}"
+                                                               var="category"
+                                                               itemValue="#{category}"
+                                                               itemLabel="#{productBeanHelper.renderProductCategory(category)}"
+                                                               />
+                                               </p:selectOneMenu>
+
+                                               <p:outputLabel for="categoryI18nKey" value="#{product.ADMIN_ENTER_CATEGORY_I18N_KEY}" />
+                                               <p:inputText
+                                                       id="categoryI18nKey"
+                                                       value="#{adminCategoryController.categoryI18nKey}"
+                                                       maxlength="255"
+                                                       required="true"
+                                                       requiredMessage="#{product.ADMIN_CATEGORY_I18N_KEY_REQUIRED}"
+                                                       title="#{product.ADMIN_ENTER_CATEGORY_I18N_KEY_TITLE}"
+                                                       validatorMessage="#{product.ADMIN_ENTERED_CATEGORY_I18N_KEY_ALREADY_ADDED}"
+                                                       >
+                                                       <f:validator validatorId="ProductCategoryValidator" />
+                                               </p:inputText>
+
+                                               <p:outputLabel for="categoryShownInStatistics" value="#{product.ADMIN_ENABLE_CATEGORY_IN_STATISTICS}" />
+                                               <p:selectBooleanCheckbox
+                                                       id="categoryShownInStatistics"
+                                                       value="#{adminCategoryController.categoryShownInStatistics}"
+                                                       required="true"
+                                                       requiredMessage="#{product.ADMIN_ENABLE_CATEGORY_IN_STATISTICS_REQUIRED}"
+                                                       title="#{product.ADMIN_ENABLE_CATEGORY_IN_STATISTICS_TITLE}"
+                                                       />
+                                       </p:panelGrid>
+                               </p:fieldset>
 
                                <f:facet name="footer">
                                        <p:panelGrid columns="2" layout="grid">