Roland Häder [Sun, 2 Oct 2022 13:53:14 +0000 (15:53 +0200)]
Please cherry-pick:
- also these need to be changed/fixed to proper form field names
Roland Häder [Mon, 26 Sep 2022 00:07:32 +0000 (02:07 +0200)]
Please cherry-pick:
- static class fields or anything static must be ALL_UPPER_CASE
- renamed private method
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 25 Sep 2022 20:43:26 +0000 (22:43 +0200)]
Please cherry-pick:
- no need for local variable "isAjax"
Roland Häder [Sun, 25 Sep 2022 20:36:04 +0000 (22:36 +0200)]
Please cherry-pick:
- branch offices have optional email addresses (finally found the bug that you
always must enter an email address while the form field is not marked as
required)
Roland Häder [Sun, 25 Sep 2022 20:21:32 +0000 (22:21 +0200)]
Please cherry-pick:
- removed duplicate validator for branch office's email address
- validators should check specific fields, not generic
- arranged code a bit for better readability
- renamed private method
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 25 Sep 2022 15:32:59 +0000 (17:32 +0200)]
Please cherry-pick:
- alsways use full-qualified access, means: `this.foo` and not just `foo`
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 25 Sep 2022 09:13:21 +0000 (11:13 +0200)]
Please cherry-pick:
- Variable 'password' can be final and no need for NULL, maybe an old leftover?
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Sep 2022 16:54:20 +0000 (18:54 +0200)]
Updated JAR(s)
Roland Häder [Fri, 23 Sep 2022 16:52:47 +0000 (18:52 +0200)]
Please cherry-pick:
- cannot copy whole user instance to RequestScoped bean as this is being
forgotten on next request, SessionScoped will be a little overdose + it can
be solved by taking the user instance already set in beanHelper bean
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Sep 2022 12:53:32 +0000 (14:53 +0200)]
Updated copyright year
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 22 Sep 2022 17:18:26 +0000 (19:18 +0200)]
Please cherry-pick:
- no need to check for java.lang.String when it cannot be NULL
Roland Häder [Thu, 15 Sep 2022 05:51:39 +0000 (07:51 +0200)]
Continued:
- updated Commons Lang3 to 3.12.0
- updated JAR(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 14 Sep 2022 06:41:21 +0000 (08:41 +0200)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 14 Sep 2022 06:12:50 +0000 (08:12 +0200)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 23 Jun 2022 11:08:58 +0000 (13:08 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 21 Jun 2022 23:15:29 +0000 (01:15 +0200)]
only these files are text/plain
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 21 Jun 2022 23:12:49 +0000 (01:12 +0200)]
updated .gitattributes
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 21 Jun 2022 23:10:17 +0000 (01:10 +0200)]
updated/added jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 30 May 2022 09:00:44 +0000 (11:00 +0200)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 10 Jun 2020 18:21:14 +0000 (20:21 +0200)]
Don't cherry-pick:
- fixed bugs of previous cherry-picking season ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 10 Jun 2020 18:11:35 +0000 (20:11 +0200)]
Please cherry-pick:
- initialization of "controller" (aka. backing bean) instances can be done
right before the moment they are used
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 10 Jun 2020 17:03:04 +0000 (19:03 +0200)]
Please cherry-pick:
- reformatted f:selectItem tag for having each attribute in a single line
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 1 Jun 2020 13:32:24 +0000 (15:32 +0200)]
Please cherry-pick:
- all extra email address validators (so not the generic one) have no attribute
"allowEmptyRequiredData" anymore as the email address for them (e.g. branch
office) is always optional
- converted own JSF tag core:outputAdminContactDataFormFields to template again
- reformatted some JSF tags to have each attribute in a single line
- the gender-specific backing bean was superflous since there is a "static
data" backing bean
- added missing i18n string COUNTRY_POLAND (country was added in JFinancials)
- fixed tpzo in i18n key
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 20 May 2020 17:50:32 +0000 (19:50 +0200)]
Please cherry-pick:
- fixed link outcome to view
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 20 May 2020 16:42:59 +0000 (18:42 +0200)]
Please cherry-pick:
- renamed userCreated -> userEntryCreated
- renamed userUpdated -> userEntryUpdated
- updateUserData() may throw a checked UserNotFoundException, let's catch it
here and throw a FacesException with it as cause
- same with confirmAccount()
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 12 May 2020 03:58:08 +0000 (05:58 +0200)]
Please cherry-pick:
- cache can be updated from the uniqueAddFoo() method
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 11 May 2020 05:32:28 +0000 (07:32 +0200)]
Please cherry-pick:
- fixed redirection outcome
- implemented observer for administrative updates on departments, including
uniqueAddDepartment()
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 11 May 2020 02:00:31 +0000 (04:00 +0200)]
Please cherry-pick:
- "list" views may list more than one entity and should be plural
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 11 May 2020 01:51:04 +0000 (03:51 +0200)]
Please cherry-pick:
- ops, needs to be ContactConverter
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 11 May 2020 01:12:04 +0000 (03:12 +0200)]
Please cherry-pick:
- since departments, headquarters and branch offices cannot link to employes,
so also the view navigation rules must reflect this. Employees can have a
relationship to any these 3 entities and would lead to endless loop
- introduced adminDepartmentActionController instead of without "Action", let
us keep these empty ("dead") backing beans around, they may one day be filled
with life again. Or they will be removed if no purpose could be found.
- closed some TODOs in views where p:fieldset allows a title attribute
- also a ui:fragment can be avoided when p:fieldset allows a render attribute
- added view for administrative editing of departments
- removed double // NOI18N strings (ops?) which is for some language string
scanning and translation tools to ignore these lines (exception messages
should normally not show up to the user).
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 9 May 2020 22:57:39 +0000 (00:57 +0200)]
Please cherry-pick:
- fixed fooCreated to fooEntryCreated
- added fooEntryUpdated
- TODO: rename user<Created|Updated> to userEntry<Created|Updated>
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 30 Apr 2020 21:32:16 +0000 (23:32 +0200)]
Please cherry-pick:
- renamed init() to initializeList() or better intiializeCache() !
- made some local variables final
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 30 Apr 2020 20:32:18 +0000 (22:32 +0200)]
Please cherry-pick:
- removed no longer used jcore-logger-lib.jar as this is not possible here
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 28 Apr 2020 21:03:01 +0000 (23:03 +0200)]
Please cherry-pick:
- added javax.faces.FACELETS_SKIP_COMMENTS to let JSF +2.1 (2.3 is used anyway)
engines ignore commented out JSF tags (and the EL code inside it). With this
option, the developer has what he needs, IMO as this allowws temporary
removing JSF tags from the component tree as the developer desires. Okay,
ui:remove is also around ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 25 Apr 2020 16:41:39 +0000 (18:41 +0200)]
Please cherry-pick:
- introduced new administrative action backing bean (add/update/delete being
done here)
- land-line, fax and mobile instances must be intialized with null first, then
check all respective backing bean properties if they all exist. This fixes
the NPEs coming from updated constructors
- check Country instance against the interface Country and not not being null
- added missing i18n string
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 24 Apr 2020 03:05:31 +0000 (05:05 +0200)]
Please cherry-pick:
- added view admin-edit-branch-office view including backing bean action method
- added navigation rule from admin-edit-branch-office to
admin-list-branch-offices view, including redirect
- added event observer for when an administrator has updated a branch office
- renamed adminBranchOfficeController to adminBranchOfficeActionController
- added many missing i18n strings
- renamed i18n string
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 24 Apr 2020 03:05:31 +0000 (05:05 +0200)]
Please cherry-pick:
- added view admin-edit-branch-office view including backing bean action method
- added navigation rule from admin-edit-branch-office to
admin-list-branch-offices view, including redirect
- added event observer for when an administrator has updated a branch office
- renamed adminBranchOfficeController to adminBranchOfficeActionController
- added many missing i18n strings
- renamed i18n string
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 23 Apr 2020 00:34:19 +0000 (02:34 +0200)]
Please cherry-pick:
- ops, missed to add the validator for companyRoadNumber field
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 23 Apr 2020 00:29:42 +0000 (02:29 +0200)]
Please cherry-pick:
- got rid of admin_form_basic_data.tpl, now moved back to original view, I guess
I will do that for all forms, which would lead to "duplicate" forms elements
butter with no targetController which was never resolvable anyway.
- added showEmailAddress boolean flag to many renderFoo() methods to whether
show email address which is mostly not wanted in selection boxes ...
- added companyRoadNumber to basic-data backing bean and proper forms/list view
- in converters/validators now the FOO_LIST_CONTROLLER static instance shall
always be initialized directly before the try{} block
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 22 Apr 2020 14:49:38 +0000 (16:49 +0200)]
Don't cherry-pick:
- renamed backing beans and their interfaces to JJobs
- fixed JNDI name
- fixed converters/validators because of JFinancials -> JJobs cherry-picking,
otherwise you have to write that all from scratch ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 21 Apr 2020 23:59:56 +0000 (01:59 +0200)]
Don't cherry-pick:
- JJobs has no need for addressbooks, it can be done without them
- renamed backing beans for JJobs
- fixed (maybe?) some JNDI names
- a lot other fixes, still something is not correct, some interfaces have some
missing methods while they should be there
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 19 Apr 2020 16:58:49 +0000 (18:58 +0200)]
Please cherry-pick:
- rewrote to not use fax_input_table_row.tpl
- realigned JSF tags to have attributes in a separate line
- got rid of some old tags from pre-PrimeFaces times
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 19 Apr 2020 03:20:44 +0000 (05:20 +0200)]
Please cherry-pick:
- fixed new location of DayOfTheWeek enumeration (jcoreee.jar now)
- added missing documentation links
Signed-off-by: Roland Häder <roland@mxchange.org>
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>
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>
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>
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>
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>
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>
Roland Häder [Thu, 2 Apr 2020 16:54:21 +0000 (18:54 +0200)]
Don't cherry-pick:
- added missing import
Signed-off-by: Roland Häder <roland@mxchange.org>
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>
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>
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>
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>
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>
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>
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>
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>
Roland Häder [Mon, 16 Mar 2020 04:28:28 +0000 (05:28 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Feb 2020 21:24:13 +0000 (22:24 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
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>
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>
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>
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>
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>
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>
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>
Roland Häder [Sat, 1 Feb 2020 01:31:17 +0000 (02:31 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 15 Jan 2020 16:56:59 +0000 (17:56 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 15 Jan 2020 15:13:41 +0000 (16:13 +0100)]
Updated copyright year
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 15 Jan 2020 11:10:16 +0000 (12:10 +0100)]
Updated copyright year
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 15 Jan 2020 10:49:27 +0000 (11:49 +0100)]
Updated copyright year
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 15 Jan 2020 10:46:13 +0000 (11:46 +0100)]
Updated copyright year
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 14 Jan 2020 23:31:18 +0000 (00:31 +0100)]
Updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 11 Oct 2019 09:40:54 +0000 (11:40 +0200)]
Don't cherry-pick:
- added missing project-related language bundles
- please also create both local bundles, else this may trigger an exception
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 11 Oct 2019 09:32:59 +0000 (11:32 +0200)]
Don't cherry-pick:
- renamed a lot files according to naming convention, like no Headquarter>s<
(s is plural here) and no CompanyEmployee and so on
- used java.util.Date instead of java.util.Calendar as it is done everywhere
- fixed a lot errors to make this project at least compile again
Signed-off-by: Roland Häder <roland@mxchange.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Roland Häder [Fri, 18 May 2018 21:36:09 +0000 (23:36 +0200)]
Please cherry-pick:
- no need for this double-slash here
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 14 May 2018 23:15:19 +0000 (01:15 +0200)]
Please cherry-pick:
- added missing navigation rules
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 14 May 2018 21:40:10 +0000 (23:40 +0200)]
Please cherry-pick:
- introduced list view-scoped backing bean for branch offices, including
interface, which will hold the list for pagination and filtering/sorting as
@RequestScoped annotated beans will be reset even on each AJAX requests
- according to the change from "general" (request-scoped) to "list"
(view-scoped) backing bean, also renamed class fields in converters/validators
- private methods should not throw exceptions as they cannot be tested with
unit tests
- added new bean helper method renderCountry()
- also include department name in renderEmployee(), if applyable
- moved all receipt/product-related renderFoo() methods away to their own beans
resulting in lesser conflicts on cherry-picking to other projects
- rewrote bean helper methods "renderFoo()" a bit
- added Accept: text/xml in case of AJAX requests (BalusC, thank you again)
- added validator for branch office's email address
- fixed relative path in project.properties (ops, NetBean's fault?)
- added template for opening times data
- fixed end of all ui:composition tags: > must be in new line to allow easy
adding (only a line added, not 2 existing modified) of new "imports"
- rewrote admin_basic_data_list.xtml to new way, with global search and details
p:dialog being dynamically loaded (cool PF!)
- same rewrite for admin_branch_office_list.xtml (still other views like
edit/delete/assign will be missing)
- remove for="someId" where really not needed (<f:convertDateTime> was already
within the tag where for="x" was pointing to)
- removed not needed "imports" of XML namespaces
- changed admin_contact_data_min.tpl to p:column (was h:column)
- onPostback had some side effects like overwriting values, still some edit
views may not work as expected (changer to PrimeFaces)
- added required <h:inputHidden> for primary key handled over from URL
(edit/delete/assign views again)
- <div class="table-footer"> is discouraged as this is plain HTML and no
engine-controlled JSF tag
- reformatted over-long JSF/PF tags to have each attribute in its own line
- form-admin-edit-user was incorrect (copy-paste) in a contact view, fixed
- removed no longer used tableStyleClass attribute
- *Created.time handled over to <f:convertDateTime> is maybe wrong, just
*Created is really okay here
- removed styleClass="submit|reset"
- added process="@form" but this is only a workaround according to BalusC on
stackoverflow.com (thank you for all your value contributions!!!)
- admin_[show_]<fax|landline|mobile|user>_data.tpl were all still using
h:column, now fixed to p:column
- moved comment block out of ui:composition, else it will show up in HTML code
and may even confuse the JSF engine?
- removed some CSS attributes from discouraged custom.css as there is now a
theme around, include .table* classes
- added a lot more i18n strings
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 6 Apr 2018 21:22:45 +0000 (23:22 +0200)]
Please cherry-pick:
- the helper bean needs to be view-scoped for other "list" view-scoped beans
- all action methods must return void to have JSF AJAX requests working properly
- sorted some members
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 31 Mar 2018 14:32:49 +0000 (16:32 +0200)]
Please cherry-pick:
- removed <f:selectItem> with value="#{null}" in filter selection box, was
anoying there and no use anyway
- added beanHelper.renderUser(user) which is a helper method for rendering
user names
- added missing i18n strings
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 31 Mar 2018 01:09:07 +0000 (03:09 +0200)]
Please cherry-pick:
- added missing i18n string
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 30 Mar 2018 22:09:23 +0000 (00:09 +0200)]
Please cherry-pick:
- _HEADER is now everwhere a suffix, not 2nd prefix of i18n keys
- *_BASIC_COMPANY_DATA_* was nice to read, still the POJI is named BasicData
where this i18n key belongs to, so let's remove the _COMPANY from all strings
- ID_NUMBER_HEADER is generic and okay for "Id number:" string
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 30 Mar 2018 17:42:20 +0000 (19:42 +0200)]
Please cherry-pick:
- on a p:dataTable it is recommneded (to avoid JavaScript errors) to have both
id and widgetVar named the same
- changed general font size to 0.8em
Signed-off-by: Roland Häder <roland@mxchange.org>