]> git.mxchange.org Git - jfinancials-war.git/commit
Maybe cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sat, 4 Nov 2017 00:16:54 +0000 (01:16 +0100)
committerRoland Häder <roland@mxchange.org>
Sat, 4 Nov 2017 11:35:49 +0000 (12:35 +0100)
commit7b28255d68e4a33ba6825da7f831cacb1ee8f5d7
treea6e092f91a9fc5ae489ec0932d9c44c51521cf40
parent9c60e01de7a0494f6ffab0636fe4a26bbaf3dda3
Maybe cherry-pick:
- renamed product -> generic_product
- renamed category -> product_category
- added validators for both product/category i18n keys as direct titles are not
  localizable
- added product manufacturer with is a connection to basic_data entity
- general controller may have reusable methods like allFoos() or
  isFooI18nKeyAdded(), by exposing them in corresponding interface, they can be
  accessed by the administrative bean to check if entity Foo is really not
  there.
- code convention applied: in comparison, first value then variable

Signed-off-by: Roland Häder <roland@mxchange.org>
19 files changed:
src/java/org/mxchange/jfinancials/beans/generic_product/FinancialAdminProductWebRequestBean.java
src/java/org/mxchange/jfinancials/beans/generic_product/FinancialProductWebRequestBean.java
src/java/org/mxchange/jfinancials/beans/generic_product/FinancialProductWebRequestController.java
src/java/org/mxchange/jfinancials/beans/product_category/FinancialAdminCategoryWebRequestBean.java
src/java/org/mxchange/jfinancials/beans/product_category/FinancialCategoryWebRequestBean.java
src/java/org/mxchange/jfinancials/beans/product_category/FinancialCategoryWebRequestController.java
src/java/org/mxchange/jfinancials/converter/generic_product/FinancialsGenericProductConverter.java
src/java/org/mxchange/jfinancials/converter/product_category/FinancialsProductCategoryConverter.java
src/java/org/mxchange/jfinancials/validator/generic_product/FinancialsGenericProductValidator.java [new file with mode: 0644]
src/java/org/mxchange/jfinancials/validator/product_category/FinancialsProductCategoryValidator.java [new file with mode: 0644]
web/WEB-INF/faces-config.xml
web/WEB-INF/resources/tags/admin/links/mini/category/admin_product_category_links.tpl [deleted file]
web/WEB-INF/resources/tags/admin/links/mini/generic_product/admin_generic_product_links.tpl [new file with mode: 0644]
web/WEB-INF/resources/tags/admin/links/mini/product/admin_generic_product_links.tpl [deleted file]
web/WEB-INF/resources/tags/admin/links/mini/product_category/admin_product_category_links.tpl [new file with mode: 0644]
web/WEB-INF/resources/tags/input/panel_grid/generic_product/product_price_input_panel_grid.tpl [new file with mode: 0644]
web/WEB-INF/resources/tags/input/panel_grid/product/product_price_input_panel_grid.tpl [deleted file]
web/WEB-INF/templates/admin/generic_product/admin_form_product_data.tpl
web/WEB-INF/templates/admin/product_category/admin_form_category_data.tpl