]> git.mxchange.org Git - jfinancials-war.git/log
jfinancials-war.git
4 years agoPlease cherry-pick:
Roland Häder [Sun, 19 Apr 2020 00:07:53 +0000 (02:07 +0200)]
Please cherry-pick:
- got rid of admin-contact-links menu template
- reformatted a lot templates
- got rid of some core:outputMessageBox as p:growl does it already
- implemented missing deleteContactData() action method
- also implemented missing even observer for updating cache and list
- replaced FaceletException with FacesException
- renamed variables

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoDon't cherry-pick:
Roland Häder [Sat, 18 Apr 2020 15:10:49 +0000 (17:10 +0200)]
Don't cherry-pick:
- updated JAR has renamed copyAll() to copyFooData()

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoDon't cherry-pick:
Roland Häder [Fri, 17 Apr 2020 14:59:29 +0000 (16:59 +0200)]
Don't cherry-pick:
- heavy rewrite on (almost?) all admin-list-foo views, to use @ViewScoped beans
  and working JSR107 caching
- also sorted out mixed usage of userController (or so?) as the login and
  register backing beans can surely have their own properties
- rewrote web/WEB-INF/resources/tags/admin/dropdown/ to have it included back
  in views again, was a bad idea

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoProduct-only:
Roland Häder [Fri, 17 Apr 2020 14:58:31 +0000 (16:58 +0200)]
Product-only:
- heavy rewrite on (almost?) all admin-list-foo views, to use @ViewScoped beans
  and working JSR107 caching
- also sorted out mixed usage of userController (or so?) as the login and
  register backing beans can surely have their own properties
- rewrote web/WEB-INF/resources/tags/admin/dropdown/ to have it included back
  in views again, was a bad idea

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Fri, 17 Apr 2020 14:54:20 +0000 (16:54 +0200)]
Please cherry-pick:
- heavy rewrite on (almost?) all admin-list-foo views, to use @ViewScoped beans
  and working JSR107 caching
- also sorted out mixed usage of userController (or so?) as the login and
  register backing beans can surely have their own properties
- rewrote web/WEB-INF/resources/tags/admin/dropdown/ to have it included back
  in views again, was a bad idea

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoDon't cherry-pick:
Roland Häder [Fri, 10 Apr 2020 19:46:10 +0000 (21:46 +0200)]
Don't cherry-pick:
- WIP: rewrote admin-list-users view into ViewScoped
- rewrote cache initialization to avoid a local List<Entity> copy

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoProduct-only:
Roland Häder [Fri, 10 Apr 2020 19:45:36 +0000 (21:45 +0200)]
Product-only:
- WIP: rewrote admin-list-users view into ViewScoped
- rewrote cache initialization to avoid a local List<Entity> copy

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Fri, 10 Apr 2020 19:38:06 +0000 (21:38 +0200)]
Please cherry-pick:
- WIP: rewrote admin-list-users view into ViewScoped
- added missing "global search" to it
- added initial p:dialog box to it
- also output userLastLock[Reason] and userMustChangePassword
- added/removed/renamed some i18n strings
- rewrote cache initialization to avoid a local List<Entity> copy

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Fri, 10 Apr 2020 04:13:21 +0000 (06:13 +0200)]
Please cherry-pick:
- updated PrimeFaces JAR from 6.2 to 8.0
- updated OmniFaces JAR from 2.7.2 to 2.7.3
- still OmniFaces causes a NPE in container startup

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoDon't cherry-pick:
Roland Häder [Fri, 10 Apr 2020 04:12:46 +0000 (06:12 +0200)]
Don't cherry-pick:
- updated PrimeFaces 8.0 doesn't have pm:x around? Id references such as
  ":master:foo:bar" won't work then anymore, but "foo:bar" still does

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoProduct-only:
Roland Häder [Fri, 10 Apr 2020 04:11:15 +0000 (06:11 +0200)]
Product-only:
- updated PrimeFaces 8.0 doesn't have pm:x around? Id references such as
  ":master:foo:bar" won't work then anymore, but "foo:bar" still does

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Fri, 10 Apr 2020 04:05:27 +0000 (06:05 +0200)]
Please cherry-pick:
- upgraded PrimeFaces to 8.0
- there is no more pm:x available in latest PrimeFaces, so ":master:foo:bar"
  doesn't work but "foo:bar" does
- also the language selector may work now?

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Wed, 8 Apr 2020 21:11:45 +0000 (23:11 +0200)]
Please cherry-pick:
- removed p:message as p:growl in main template "master.tpl" does this already.

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoProduct-only:
Roland Häder [Wed, 8 Apr 2020 18:59:37 +0000 (20:59 +0200)]
Product-only:
- moved addProduct() method to "admin-product-action" controller

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoDon't cherry-pick:
Roland Häder [Wed, 8 Apr 2020 18:59:27 +0000 (20:59 +0200)]
Don't cherry-pick:
- created "admin-receipt-action" controller for add/edit (later delete, too)
  actions
- this change made the "admin-generic-receipt" controller empty for now, but
  that is so far okay here.
- added admin-receipt-edit view
- reformatted p:panelGrid/p:outputLabel/p:inputText to have each attribute in a
  separate line
- added missing i18n strings

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoProduct-only:
Roland Häder [Wed, 8 Apr 2020 18:39:21 +0000 (20:39 +0200)]
Product-only:
- renamed adminGenericProductActionController.product ->
  adminGenericProductActionController.currentProduct
- p:message is here not required as p:growl does the job nicely already
- reformatted p:outputLabel/p:inputText to have each attribute in separate line

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Wed, 8 Apr 2020 18:29:11 +0000 (20:29 +0200)]
Please cherry-pick:
- reformatted some p:outputLabel/p:inputText to have all attributes in single
  line
- as jcoreee's showFacesMessage() methods require severity now, added
  FacesMessage.SEVERITY_* to those method calls, strange that still it still
  shows no effect? Where is the bug here?

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease repeat:
Roland Häder [Thu, 2 Apr 2020 16:46:18 +0000 (18:46 +0200)]
Please repeat:
- #tpzo fixed: Viewt -> View

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Thu, 2 Apr 2020 16:29:54 +0000 (18:29 +0200)]
Please cherry-pick:
- rewrote admin-headquarters-list to have filters and sorting (newer approach)
- added p:panelGrid around reset/submit buttons, still administrative contact
  list is not being updated on record insert
- used beanHelper.renderEmployee() to render department leader (employee
  instance again)
- fixed some wrong references due to last rewrite for departments
- added missing i18n key

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Thu, 2 Apr 2020 13:38:24 +0000 (15:38 +0200)]
Please cherry-pick:
- rewrote admin-departments-list view to have working filters and sorting
  (wasn't done correctly)
- also included a "global" search (all columns)
- moved isDepartmentAlreadyAdded() to departmentListController to avoid getter
  for allDepartments being exposed in interface

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Wed, 1 Apr 2020 18:59:35 +0000 (20:59 +0200)]
Please cherry-pick:
- added countryPhoneCode column to admin-countries-list view

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoDon't cherry-pick:
Roland Häder [Wed, 1 Apr 2020 18:27:34 +0000 (20:27 +0200)]
Don't cherry-pick:
- rewrote while(iterator) loops to for(item:List/Map.Entry) approach to avoid
  local copies of Iterator<Foo> instances

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoProduct-only:
Roland Häder [Wed, 1 Apr 2020 18:26:34 +0000 (20:26 +0200)]
Product-only:
- rewrote while(iterator) loops to for(item:List/Map.Entry) approach to avoid
  local copies of Iterator<Foo> instances

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Wed, 1 Apr 2020 18:24:20 +0000 (20:24 +0200)]
Please cherry-pick:
- rewrote admin-countries-list view to more modern approach with filters and
  sorting
- rewrote many while(iterator) implementations to use for(item:List/Map.Entry)
  instead
- added some missing i18n keys

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Wed, 1 Apr 2020 00:13:14 +0000 (02:13 +0200)]
Please cherry-pick:
- initialize BASIC_DATA_LIST_CONTROLLER (and others, too) only right before it
  is needed.
- added contactUpdated to "admin-contacts-list" view
- contact usage (user/no user) is now pre-last column
- added missing i18n string

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sun, 29 Mar 2020 22:33:19 +0000 (00:33 +0200)]
Please cherry-pick:
- was still using contactController.allContacts() should be
  contactListController.allContacts as "allContacts" is a bean property now.

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sun, 29 Mar 2020 21:58:10 +0000 (23:58 +0200)]
Please cherry-pick:
- rewrote to use DATA_ZIP_CODE only, other *_DATA_ZIP_CODE has been deleted
- continued a bit with details p:dialog (modal) box, still need to add all
  fields, including for administrative list

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick/repeat:
Roland Häder [Sun, 29 Mar 2020 19:00:35 +0000 (21:00 +0200)]
Please cherry-pick/repeat:
- rewrote "contacts-list view" into modern approach, with filters and sorting
- in the progress a ViewScoped backing bean has been added which needs to
  duplicated to all other projects, that handles "jcontacts-core data"

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Mon, 16 Mar 2020 04:28:40 +0000 (05:28 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Fri, 6 Mar 2020 14:20:48 +0000 (15:20 +0100)]
Please cherry-pick:
- added Apache Commons Math3 as Apache POI requires this now

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoProduct-only:
Roland Häder [Fri, 6 Mar 2020 14:12:12 +0000 (15:12 +0100)]
Product-only:
- displayed manufacturer's short company name if assigned
- UNIT_TYPE_MILLILITTER is correct spelling of "milliliter"

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Thu, 6 Feb 2020 21:24:15 +0000 (22:24 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoDon't cherry-pick:
Roland Häder [Tue, 4 Feb 2020 21:50:57 +0000 (22:50 +0100)]
Don't cherry-pick:
- added missing i18n string

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoProduct-only:
Roland Häder [Tue, 4 Feb 2020 21:50:22 +0000 (22:50 +0100)]
Product-only:
- added missing i18n string

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Sat, 1 Feb 2020 01:31:25 +0000 (02:31 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Wed, 15 Jan 2020 16:57:00 +0000 (17:57 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated copyright year
Roland Häder [Wed, 15 Jan 2020 15:14:09 +0000 (16:14 +0100)]
Updated copyright year

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated copyright year
Roland Häder [Wed, 15 Jan 2020 11:10:33 +0000 (12:10 +0100)]
Updated copyright year

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated copyright year
Roland Häder [Wed, 15 Jan 2020 10:46:32 +0000 (11:46 +0100)]
Updated copyright year

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Tue, 14 Jan 2020 23:31:20 +0000 (00:31 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoDon't cherry-pick:
Roland Häder [Sat, 30 Nov 2019 01:13:44 +0000 (02:13 +0100)]
Don't cherry-pick:
- rewrote isReceiptItemAdded() as contains() didn't work as expected
- but still skip longer running code when contains() return true (same object)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoProduct-only:
Roland Häder [Sat, 30 Nov 2019 00:22:11 +0000 (01:22 +0100)]
Product-only:
- the bar code has priority over product number which are not the same

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sat, 30 Nov 2019 00:21:00 +0000 (01:21 +0100)]
Please cherry-pick:
- added missing i18n string BARCODE

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Sun, 24 Nov 2019 15:44:47 +0000 (16:44 +0100)]
Please cherry-pick:
- updated Apache POI to 4.1.1

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Sun, 24 Nov 2019 15:42:03 +0000 (16:42 +0100)]
Please cherry-pick:
- added Omnifaces 2.7.2 + license file

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Sun, 24 Nov 2019 15:39:07 +0000 (16:39 +0100)]
Please cherry-pick:
- added Omnifaces 2.7 to project file
- the JAR file will follow next

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Sun, 24 Nov 2019 04:39:30 +0000 (05:39 +0100)]
Please cherry-pick:
- introduced new feature switch "guest_index_content"

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Sat, 5 Oct 2019 00:24:41 +0000 (02:24 +0200)]
Please cherry-pick:
- okay, that PaymentType is here in because other projects might (still) have it
- added TODOs.txt file with project management-related todos

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoDon't cherry-pick:
Roland Häder [Sat, 5 Oct 2019 00:23:02 +0000 (02:23 +0200)]
Don't cherry-pick:
- improved inline documentation a bit (EJBs are called, not any bean)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoProduct-only:
Roland Häder [Sat, 5 Oct 2019 00:21:54 +0000 (02:21 +0200)]
Product-only:
- improved inline documentation a bit (EJBs are called, not any bean)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Sat, 5 Oct 2019 00:19:45 +0000 (02:19 +0200)]
Please cherry-pick:
- improved inline documentation a bit (EJBs are called, not any bean)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoDon't cherry-pick:
Roland Häder [Fri, 12 Jul 2019 00:58:05 +0000 (02:58 +0200)]
Don't cherry-pick:
- converted single-line to multi-line for better readability
- added closeOnEscape="true" attribute to have p:dialog closing press on ESC key

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoProduct-only:
Roland Häder [Fri, 12 Jul 2019 00:57:33 +0000 (02:57 +0200)]
Product-only:
- converted single-line to multi-line for better readability
- added closeOnEscape="true" attribute to have p:dialog closing press on ESC key

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Fri, 12 Jul 2019 00:55:20 +0000 (02:55 +0200)]
Please cherry-pick:
- converted single-line to multi-line for better readability
- added closeOnEscape="true" attribute to have p:dialog closing press on ESC key

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoDon't cherry-pick:
Roland Häder [Wed, 10 Jul 2019 11:27:22 +0000 (13:27 +0200)]
Don't cherry-pick:
- moved AGE_GROUP_??? i18n strings to project-specific bundle

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoProduct-only:
Roland Häder [Wed, 10 Jul 2019 11:26:42 +0000 (13:26 +0200)]
Product-only:
- moved AGE_GROUP_??? i18n strings to project-specific bundle

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Sun, 30 Jun 2019 15:31:11 +0000 (17:31 +0200)]
Please cherry-pick:
- ops, added missing Apache POI library

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoUpdated jar(s)
Roland Häder [Wed, 26 Jun 2019 17:48:23 +0000 (19:48 +0200)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoDon't cherry-pick:
Roland Häder [Wed, 12 Jun 2019 07:05:10 +0000 (09:05 +0200)]
Don't cherry-pick:
- correct language bundle is product (product-related i18n strings)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoProduct-only:
Roland Häder [Wed, 12 Jun 2019 07:01:54 +0000 (09:01 +0200)]
Product-only:
- 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>
5 years agoPlease cherry-pick:
Roland Häder [Wed, 12 Jun 2019 00:31:46 +0000 (02:31 +0200)]
Please cherry-pick:
- moved metadata (not for HTML, but for JSF engine) out of "first" facet block,
  should not belong there?
- fixed some missing UTF-8 encodings

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoDon't cherry-pick:
Roland Häder [Fri, 7 Jun 2019 02:12:04 +0000 (04:12 +0200)]
Don't cherry-pick:
- need to use short company's name in "render helper" method
- fixed UTF-8 encoding in i18n strings

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoProduct-only:
Roland Häder [Fri, 7 Jun 2019 02:09:11 +0000 (04:09 +0200)]
Product-only:
- fixed UTF-8 encoding in i18n strings

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Fri, 7 Jun 2019 02:07:17 +0000 (04:07 +0200)]
Please cherry-pick:
- added new country i18n strings
- fixed Umlauts to proper UTF-8 encoding

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoUpdated jar(s)
Roland Häder [Tue, 12 Mar 2019 13:27:26 +0000 (14:27 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoDon't cherry-pick:
Roland Häder [Tue, 12 Mar 2019 13:16:24 +0000 (14:16 +0100)]
Don't cherry-pick:
- renamed more i18n strings to follow naming-convention
- rewrote p:link and p:column to have each attribute in separate line which
  helps reading JSF views/templates

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoProduct-only:
Roland Häder [Tue, 12 Mar 2019 13:13:52 +0000 (14:13 +0100)]
Product-only:
- renamed ADMIN_ASSIGNED_ITEM_PRODUCT to ADMIN_PRODUCT_HEADER
- renamed ADMIN_ASSIGNED_PRODUCT_CATEGORY_HEADER to ADMIN_ASSIGNED_PRODUCT_CATEGORY_LABEL
- renamed ADMIN_ASSIGNED_PARENT_CATEGORY_HEADER to ADMIN_PARENT_PRODUCT_CATEGORY_HEADER
- added more missing i18n strings
- removed some obsolete

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Tue, 12 Mar 2019 13:08:51 +0000 (14:08 +0100)]
Please cherry-pick:
- rewrote p:column and p:link to have each attribute in a separate line which
  helps reading JSF views/templates
- renamed ADMIN_ASSIGNED_USER_HEADER to ADMIN_USER_HEADER
- added more country i18n strings

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoDon't cherry-pick:
Roland Häder [Mon, 28 Jan 2019 15:48:58 +0000 (16:48 +0100)]
Don't cherry-pick:
- separated product i18n keys to own file
- added missing 2nd parameter for renderBasicData() in EL code

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoProduct-only:
Roland Häder [Mon, 28 Jan 2019 15:36:51 +0000 (16:36 +0100)]
Product-only:
- separated product-specific i18n keys to own files from project-specific
- converted some single-line JSF tags to multi-line to have each attribute in
  a distinct line

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoUpdated jar(s)
Roland Häder [Sat, 22 Dec 2018 01:30:00 +0000 (02:30 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoDon't cherry-pick:
Roland Häder [Sat, 22 Dec 2018 01:12:27 +0000 (02:12 +0100)]
Don't cherry-pick:
- used beanHelper.renderBasicData() instead of direct access to BasicData's
  properties
- added 2nd parameter for beanHelper.renderBasicData()
- re-formatted JSF tag to have distinct lines for each attribute

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoProduct-only:
Roland Häder [Sat, 22 Dec 2018 01:10:22 +0000 (02:10 +0100)]
Product-only:
- added 2nd parameter for beanHelper.renderBasicData()
- re-formatted JSF tag to have distinct lines for each attribute

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Sat, 22 Dec 2018 00:15:33 +0000 (01:15 +0100)]
Please cherry-pick:
- introduced 2nd parameter for beanHelper.renderBasicData() to include short or
  long name in view components
- also use that method instead of invoking getter in same helper backing-bean
- re-aligned some JSF tags to have their attributes in distinct lines (easy to
  add another)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Fri, 21 Dec 2018 14:28:01 +0000 (15:28 +0100)]
Please cherry-pick:
- companyName might be set, let's make sure it is not empty
- basicData can be final here

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoDon't cherry-pick:
Roland Häder [Thu, 20 Dec 2018 11:13:28 +0000 (12:13 +0100)]
Don't cherry-pick:
- converted single-line JSF tag to multi-line, having attributes in distinct
  lines
- ID_NUMBER_HEADER is to long, just let us use ID_HEADER, allowing more space
  for other columns
- removed spurious id attributes, thumb of a rule: only use them when really
  needed and don't "over-id" everthing!
- removed no longer used i18n keys

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoProduct-only:
Roland Häder [Thu, 20 Dec 2018 11:07:51 +0000 (12:07 +0100)]
Product-only:
- implemented allowDuplicates in product i18n key validator (default: FALSE)
- added it to product:genericProductForm tag (custom JSF tag)
- allowed "duplicates" in edit view, still the generic string validation applies)
- parentCategory is optional and must be set "manually" by setter
- removed clear() method (which sets NULL to all backing-bean fields/properties (?)
- realigned code a bit (createProductInstance())

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Thu, 13 Dec 2018 21:47:24 +0000 (22:47 +0100)]
Please cherry-pick:
- removed "id" where it is not explicitly needed
- removed process="@form" as later one hides a more serious bug (was wrong
  scope)
- removed contenttype from f:view which makes rendering AJAX requests by
  Primefaces trigger an exception
- rewrote single-line attributes to distinct lines (each attribute of a tag in
  a separate line for better readability) in master.tpl

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoProduct-only:
Roland Häder [Thu, 13 Dec 2018 21:40:35 +0000 (22:40 +0100)]
Product-only:
- converted ui:include template admin_form_product_data.tpl to custom JSF tag
  product:genericProductForm
- introduced view-scoped action backing bean for Product entity which hold code
  from request-scoped backing bean, this is required to have edit/delete/show
  views working again
- removed beanProductHelper.product property and
  notifyControllerProductConverted() in favor of copyAllProductProperties()
- renamed some language strings

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoPlease cherry-pick:
Roland Häder [Thu, 13 Dec 2018 21:25:32 +0000 (22:25 +0100)]
Please cherry-pick:
- created validator for company's short name (BasicData entity)
- renamed email-address validator for branch office according to naming-convention
- removed "id" attribute from everywhere where it is not explicitly needed
- changed some single-line tags to multi-lines for better readability
- added companyShortName to view and backing bean
- it is now the default instead of companyName which is now fully optional
- also added method isCompanyShortNameUsed() to interface

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Sat, 24 Nov 2018 16:22:01 +0000 (17:22 +0100)]
Please cherry-pick:
- splitted f:selectItems' attributes into multiple lines having in each a
  separate attribute for easy adding

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoDon't cherry-pick:
Roland Häder [Mon, 16 Jul 2018 20:57:28 +0000 (22:57 +0200)]
Don't cherry-pick:
- renamed *MiniLinks to *DropdownMenu as this is the actual purpose of the tag
- added missing i18n string

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoProduct-only:
Roland Häder [Mon, 16 Jul 2018 20:55:39 +0000 (22:55 +0200)]
Product-only:
- renamed *MiniLinks to *DropdownMenu as this is the actual purpose of the tag

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Mon, 16 Jul 2018 20:36:22 +0000 (22:36 +0200)]
Please cherry-pick:
- renamed *MiniLinks to *DropdownMenu to reflect actual purpose of these custom
  tags
- renamed to generic "id" EL variable to "panelGroupId", was causing trouble
- ids should not have dashes in them (caused some exceptions)

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoProduct-only:
Roland Häder [Sat, 7 Jul 2018 19:09:20 +0000 (21:09 +0200)]
Product-only:
- EAN13 is proper code

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Sat, 7 Jul 2018 19:08:10 +0000 (21:08 +0200)]
Please cherry-pick:
- added value for p:menuButton (will render text)
- maybe later this needs rewrite when FontAwesome is being added

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoDon't cherry-pick:
Roland Häder [Sat, 7 Jul 2018 16:38:20 +0000 (18:38 +0200)]
Don't cherry-pick:
- replaced old "mini links" with custom CSS to PrimeFaces' p:menuButton and
  p:menuitem tags
- rewrote project-own admin links

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoProduct-only:
Roland Häder [Sat, 7 Jul 2018 16:35:00 +0000 (18:35 +0200)]
Product-only:
- rewrote "mini links" (with custom CSS) to PrimeFaces' p:menuButton and
  p:menuitem, also moved them to proper "dropdown" folder

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Sat, 7 Jul 2018 16:28:27 +0000 (18:28 +0200)]
Please cherry-pick:
- removed custom CSS, will be no longer used

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Sat, 7 Jul 2018 16:24:43 +0000 (18:24 +0200)]
Please cherry-pick:
- restructed admin menu towards a sidebar and slide menu which is
  finger-friendlier and consumes lesser space
- also this lefts open a top panel for later enhancements
- renamed base.tpl -> master.tpl
- rewrote "mini links" (with custom CSS) to PrimeFaces' p:menuButton and
  p:menuitem, also moved them to proper "dropdown" folder

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoProduct-only:
Roland Häder [Wed, 27 Jun 2018 21:27:20 +0000 (23:27 +0200)]
Product-only:
- added missing context parameter product_barcode_type to EAN-13 bar-codes

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoDon't cherry-pick:
Roland Häder [Tue, 26 Jun 2018 19:57:44 +0000 (21:57 +0200)]
Don't cherry-pick:
- one i18n string for bar-code numbers is okay, removed for receipt

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoProduct-only:
Roland Häder [Tue, 26 Jun 2018 19:46:41 +0000 (21:46 +0200)]
Product-only:
- added form field for product's bar-code number
- added graphical bar-code of product's bar-code number to dialog box
- added missing i18n language strings

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Mon, 25 Jun 2018 21:10:01 +0000 (23:10 +0200)]
Please cherry-pick:
- exposed branch office and employee number in list views
- added missing i18n string

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Mon, 25 Jun 2018 19:56:55 +0000 (21:56 +0200)]
Please cherry-pick:
- invoke renderEmployee() to have nice link text

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoProduct-only:
Roland Häder [Sun, 24 Jun 2018 21:48:40 +0000 (23:48 +0200)]
Product-only:
- if no product number is assigned, don't leave the box empty and show a proper message

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoDon't cherry-pick:
Roland Häder [Sun, 24 Jun 2018 20:41:20 +0000 (22:41 +0200)]
Don't cherry-pick:
- let's render the receipt's bar code into an actual barcode
- renamed RECEIPT_NUMBER -> RECEIPT_NUMBER_HEADER
- added showing receipt number in list view (receipts)

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoProduct-only:
Roland Häder [Sun, 24 Jun 2018 16:00:51 +0000 (18:00 +0200)]
Product-only:
- shown product number in list view to have it filterable
- removed no longer used namespace

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoDon't cherry-pick:
Roland Häder [Sun, 24 Jun 2018 12:55:41 +0000 (14:55 +0200)]
Don't cherry-pick:
- need to invoke renderUser() instead, strange is that my IDE didn't show this
  error but okay.
- added register number to dialog box
- added missing i18n strings

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Fri, 22 Jun 2018 21:33:27 +0000 (23:33 +0200)]
Please cherry-pick:
- was old-lost content from my PHP project "mailer"

Signed-off-by: Roland Häder <roland@mxchange.org>