]> git.mxchange.org Git - jfinancials-war.git/commit
Product-only:
authorRoland Häder <roland@mxchange.org>
Fri, 30 Mar 2018 17:07:48 +0000 (19:07 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 30 Mar 2018 17:07:48 +0000 (19:07 +0200)
commit38ad1fd7a3f5eb21d08c866ac59a9dae109a3564
treeec94219a8aa3121aa14fcb797fd1512111c06471
parent02dae35d5e58932ab11bf4a1b9800182224dded6
Product-only:
- data output by a p:dataTable with pagination, filtering and sorting cannot
  come from a request-scoped bean as each AJAX request will reset the
  filteredValue-referenced bean property to null which leads to an empty table.
- better is to have a separate backing bean on view-scoped which holds both
  lists, the full ("all") list and filtered list (which are the items that have
  passed the filter).
- also had to update converters and validators

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/generic_product/list/FinancialsProductListWebViewBean.java [new file with mode: 0644]
src/java/org/mxchange/jfinancials/beans/generic_product/list/FinancialsProductListWebViewController.java [new file with mode: 0644]
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/beans/product_category/list/FinancialsCategoryListWebViewBean.java [new file with mode: 0644]
src/java/org/mxchange/jfinancials/beans/product_category/list/FinancialsCategoryListWebViewController.java [new file with mode: 0644]
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
src/java/org/mxchange/jfinancials/validator/product_category/FinancialsProductCategoryValidator.java
web/WEB-INF/resources/tags/input/panel_grid/generic_product/product_price_input_panel_grid.tpl
web/WEB-INF/templates/admin/generic_product/admin_form_product_data.tpl
web/WEB-INF/templates/admin/product_category/admin_form_category_data.tpl
web/admin/generic_product/admin_generic_product_list.xhtml
web/admin/product_category/admin_product_category_list.xhtml