]> git.mxchange.org Git - addressbook-war.git/log
addressbook-war.git
21 months agoDon't cherry-pick:
Roland Häder [Thu, 24 Nov 2022 00:58:33 +0000 (01:58 +0100)]
Don't cherry-pick:
- upgraded templates/views/faces-config.xml and web.xml to latest changes from
  JFinancials

21 months agoDon't cherry-pick:
Roland Häder [Thu, 24 Nov 2022 00:39:26 +0000 (01:39 +0100)]
Don't cherry-pick:
- updated Apache POI to 4.1.1
- upgraded project files for Apache Netbeans IDE 15
- renamed a lot classes as new naming-convention
- added missing backing beans/converters
- more synchronization from JFinancials
- updated jar(s)

21 months agoPlease cherry-pick:
Roland Häder [Sun, 20 Nov 2022 13:58:11 +0000 (14:58 +0100)]
Please cherry-pick:
- removed with JQuery-UI conflicting CSS properties

21 months agoupdated jar(s)
Roland Häder [Sat, 12 Nov 2022 21:12:45 +0000 (22:12 +0100)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
21 months agoPlease cherry-pick:
Roland Häder [Sat, 12 Nov 2022 20:31:18 +0000 (21:31 +0100)]
Please cherry-pick:
- removed star-import and it isn't needed anymore
- still this interface should be used as a type alongside with `@Inject`
  annotations

21 months agoupdated jar(s)
Roland Häder [Sat, 12 Nov 2022 19:20:31 +0000 (20:20 +0100)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
21 months agoPlease cherry-pick:
Roland Häder [Fri, 11 Nov 2022 16:43:31 +0000 (17:43 +0100)]
Please cherry-pick:
- the above if() block is already stopping wrong invocations of this method

21 months agoPlease cherry-pick:
Roland Häder [Wed, 9 Nov 2022 18:00:58 +0000 (19:00 +0100)]
Please cherry-pick:
- updated PrimeFaces to 10.0.0

22 months agoPlease cherry-pick:
Roland Häder [Sun, 6 Nov 2022 14:33:04 +0000 (15:33 +0100)]
Please cherry-pick:
- fixed path, opps!

22 months agoupdated jar(s)
Roland Häder [Sun, 6 Nov 2022 00:49:24 +0000 (01:49 +0100)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
22 months agoPlease cherry-pick:
Roland Häder [Sat, 5 Nov 2022 06:55:36 +0000 (07:55 +0100)]
Please cherry-pick:
- updated to latest constructor changes (emailChangeStatus)

22 months agoPlease cherry-pick:
Roland Häder [Sat, 5 Nov 2022 04:39:57 +0000 (05:39 +0100)]
Please cherry-pick:
- updated to latest changes in constructor (order of parameters)
- also used newly added constructor with all optional class fields, except
  contactId, fax/land-line/mobile number and created/updated fields

22 months agoPlease cherry-pick:
Roland Häder [Thu, 3 Nov 2022 12:51:54 +0000 (13:51 +0100)]
Please cherry-pick:
- moved related files for jcontact-business-core to own "business" folder
- updated navigation rules accordingly

22 months agoPlease cherry-pick:
Roland Häder [Sun, 23 Oct 2022 22:30:09 +0000 (00:30 +0200)]
Please cherry-pick:
- added missing class field for MobileProvider

22 months agoupdated jar(s)
Roland Häder [Sun, 23 Oct 2022 22:04:01 +0000 (00:04 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
22 months agoPlease cherry-pick:
Roland Häder [Sun, 23 Oct 2022 21:36:53 +0000 (23:36 +0200)]
Please cherry-pick:
- added country Luxembourg

22 months agoPlease cherry-pick:
Roland Häder [Sun, 23 Oct 2022 21:13:02 +0000 (23:13 +0200)]
Please cherry-pick:
- I don't know what maximum number is possible, e.g. +352 is Luxembourg which is
  far bigger than intended maximum 99. So let's put it up to 999

22 months agoPlease cherry-pick
Roland Häder [Sun, 23 Oct 2022 18:59:32 +0000 (20:59 +0200)]
Please cherry-pick
- renamed foundLocale -> currentLocale because getValue() returns the iterator's
  current value

22 months agoPlease cherry-pick:
Roland Häder [Sun, 23 Oct 2022 16:50:48 +0000 (18:50 +0200)]
Please cherry-pick:
- formatted tag so all attributes are in a separate line
- sorted import lines

22 months agoPlease cherrry-pick:
Roland Häder [Fri, 21 Oct 2022 11:38:08 +0000 (13:38 +0200)]
Please cherrry-pick:
- this is not an argument/parameter of a method. it might have happened due
  to a logic error, therefore it is an unexpected state

22 months agoPlease cherry-pick:
Roland Häder [Thu, 20 Oct 2022 17:17:46 +0000 (19:17 +0200)]
Please cherry-pick:
- added missing parameter "country" for updated constructor
- also validated if contact's Country instance is set and already persisted

22 months agoPlease cherry-pick:
Roland Häder [Thu, 20 Oct 2022 16:42:21 +0000 (18:42 +0200)]
Please cherry-pick:
- renamed copyUser() to copyToUser() because that method "copies" (read: sets)
  all required class fields except "entry-created" in given user instance
- also used UserContact's parameterized constructor instead of default one and
  then setting all on my own
- removed @PostConstruct method

22 months agoupdated jar(s)
Roland Häder [Thu, 20 Oct 2022 16:38:48 +0000 (18:38 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
22 months agoupdated jar(s)
Roland Häder [Thu, 20 Oct 2022 02:32:51 +0000 (04:32 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
22 months agoupdated jar(s)
Roland Häder [Wed, 19 Oct 2022 12:44:05 +0000 (14:44 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
22 months agoupdated jar(s)
Roland Häder [Wed, 19 Oct 2022 11:49:45 +0000 (13:49 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
22 months agoupdated jar(s)
Roland Häder [Tue, 18 Oct 2022 14:03:01 +0000 (16:03 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
22 months agoupdated jar(s)
Roland Häder [Wed, 12 Oct 2022 23:05:38 +0000 (01:05 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
23 months agoupdated jar(s)
Roland Häder [Fri, 7 Oct 2022 18:37:45 +0000 (20:37 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
23 months agoupdated jar(s)
Roland Häder [Fri, 7 Oct 2022 18:17:57 +0000 (20:17 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
23 months agoupdated jar(s)
Roland Häder [Fri, 7 Oct 2022 18:04:36 +0000 (20:04 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
23 months agoPlease cherry-pick:
Roland Häder [Sun, 25 Sep 2022 20:43:26 +0000 (22:43 +0200)]
Please cherry-pick:
- no need for local variable "isAjax"

Signed-off-by: Roland Häder <roland@mxchange.org>
23 months agoPlease cherry-pick:
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)

Signed-off-by: Roland Häder <roland@mxchange.org>
23 months agoPlease cherry-pick:
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>
23 months agoPlease cherry-pick:
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>
23 months agoUpdated JAR(s)
Roland Häder [Fri, 23 Sep 2022 16:57:44 +0000 (18:57 +0200)]
Updated JAR(s)

23 months agoPlease cherry-pick:
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>
23 months agoUpdated copyright year
Roland Häder [Fri, 23 Sep 2022 12:53:50 +0000 (14:53 +0200)]
Updated copyright year

Signed-off-by: Roland Häder <roland@mxchange.org>
23 months agoPlease cherry-pick:
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

23 months agoContinued:
Roland Häder [Thu, 15 Sep 2022 05:51:43 +0000 (07:51 +0200)]
Continued:
- updated Commons Lang3 to 3.12.0
- updated JAR(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
23 months agoUpdated jar(s)
Roland Häder [Wed, 14 Sep 2022 06:41:26 +0000 (08:41 +0200)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
23 months agoUpdated jar(s)
Roland Häder [Wed, 14 Sep 2022 06:12:57 +0000 (08:12 +0200)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoupdated jar(s)
Roland Häder [Thu, 23 Jun 2022 11:09:02 +0000 (13:09 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoonly these files are text/plain
Roland Häder [Tue, 21 Jun 2022 23:15:42 +0000 (01:15 +0200)]
only these files are text/plain

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoupdated .gitattributes
Roland Häder [Tue, 21 Jun 2022 23:13:09 +0000 (01:13 +0200)]
updated .gitattributes

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoupdated/added jar(s)
Roland Häder [Tue, 21 Jun 2022 23:10:24 +0000 (01:10 +0200)]
updated/added jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoUpdated jar(s)
Roland Häder [Mon, 30 May 2022 09:00:50 +0000 (11:00 +0200)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Mon, 16 Mar 2020 04:28:53 +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, 22 Sep 2017 20:09:02 +0000 (22:09 +0200)]
Please cherry-pick:
- renamed Base<Project>Controller to Base<Project>Bean as 'Controller' is for
  interfaces and 'Bean' for classes (the actual backing bean)
- added bean for static data (application-scoped)
- added converter for PaymentType enumeration
- added branchNumber which can be aside from the primary key a number e.g. from
  organigrams

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Tue, 19 Sep 2017 20:57:36 +0000 (22:57 +0200)]
Please cherry-pick:
- let's split project-own and generic i18n strings into separate files so they
  don't interfer anymore with each other, having lesser cherry-pick conflicts
- converted some p:inputText again but into p:calendar for an upgraded way of
  entering some dates (like birthday date)
- nearly (?) all p:selectXxxMenu are now have each attribute in a separate line
  making them better readable
- also they can be filtered
- this whole PrimeFaces thing seem to have one big disadvantage: no more
  NoScript is possible with e.g. pagination, also "select" boxes are no longer
  rendered as <select> HTML tags, but now div, ul and li tags
- also mother PF tags with long list of attributes are now have each attribute
  in separate line. This makes changes lesser intrusive as not the whole line is
  considered as changed (by GIT) but only a line or 2 are just added.
- rewrote branchOffice controller to be fully compatible with sorting and
  filtering as the *same* list must be returned for making this fully working
- added converter of branch office entities for making above fully work (plus
  for many more purpose)
- ignored some text for i18n

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

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sat, 16 Sep 2017 23:17:32 +0000 (01:17 +0200)]
Please cherry-pick:
- introduced custom JSF tag widgets:outputCountrySelector which renders a nice
  country-selection box for forms
- removed id from fieldset, no need to "over-id" things
- rewrote administrative mobilde provider list to more PrimeFaces, like
  filterable and dragable columns, responsiveness
- added more i18n strings for above new stuff
- added new property "filteredMobileProviders" for filtering mobile providers

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Sat, 1 Feb 2020 01:31:40 +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:01 +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:34 +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:45 +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:47:01 +0000 (11:47 +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:22 +0000 (00:31 +0100)]
Updated jar(s)

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

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

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

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoDon't cherry-pick:
Roland Häder [Sat, 16 Sep 2017 14:45:38 +0000 (16:45 +0200)]
Don't cherry-pick:
- wrong (old) annotations, these beans are now request-scoped

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Fri, 15 Sep 2017 20:25:57 +0000 (22:25 +0200)]
Please cherry-pick:
- added "id" as required attribute for widgets:outputMessageBox
- got rid of one template being "abused" as message box, still there are some
  left to be ported
- improved i18n strings by generalizing them, had: _DEACTIVATED, _NOT_ENABLED
  and _DISABLED for the same thing, now only _DISABLED is used

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoWIP - Please cherry-pick:
Roland Häder [Wed, 13 Sep 2017 21:31:24 +0000 (23:31 +0200)]
WIP - Please cherry-pick:
- started proting to PrimeFaces 6.0
- PF theme "bootstrap" is now the theme
- mobile provider list in admin area should be now ported
- removed many own CSS as it conflicted with jQuery UI, still tons of to go
- added more i18n strings for empty lists
- replaced all h:commandButton -> p:commandButton
- replaced all h:link -> p:link
- admin menu is now rewritten in PF (still looking a little messy)
- replaced h:dataTable -> p:dataTable and also h:column -> p:column (belongs
  together)
- widgets:outputMessageBox is no longer needed as p:dataTable has "emptyMessage"
  attribute for this
- if you have p:dataExporter, also use p:commandButton
- added missing admin_country_links.tpl (custom JSF tag)
- replaced h:message[s] -> p:message[p]
- finally found a way of getting rid of project name in base.tpl, thanks to the
  people at stackoverflow
- widgets:outputMessageBox now accepts common "id", was required for "for"
  attribute
- f:view seem to be self-closing?
- added f:facet and more meta tags for upcoming responsive
- used a bit pm (PF mobile)
- now will use p:growl instead of main h:messages in base.tpl
- also added AJAX exception handler and p:dialog (does it work?)
- everthing else I oversaw/forgot

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Tue, 12 Sep 2017 23:03:48 +0000 (01:03 +0200)]
Please cherry-pick:
- must be 'branchId'

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Tue, 12 Sep 2017 22:43:03 +0000 (00:43 +0200)]
Please cherry-pick:
- added missing navigation cases for user-list -> user-edit/delete
- all administrative mini-links tags now fully support "rendered" attribute
- also no need to have table header here
- added missing (ops) JSF tag for administrative contact links

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Tue, 12 Sep 2017 22:11:58 +0000 (00:11 +0200)]
Please cherry-pick:
- converted existing "links" templates into custom JSF tags
- registered new links taglib and moved existing there
- added JSF tag for administrative links to: branch office, mobile provider
  user (mini links)
- some more generic "short" link texts for resending, locking and unlocking

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Tue, 12 Sep 2017 20:59:02 +0000 (22:59 +0200)]
Please cherry-pick:
- introduced JSF tag outputBasicDataAdminLinks which will render administrative
  links for basic company data
- all short navigational links now have full-explaining title attribute
- added missing navigation cases for edit/delete basic company data

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Tue, 12 Sep 2017 19:20:48 +0000 (21:20 +0200)]
Please cherry-pick:
- renamed companyData* -> basicData*

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Tue, 12 Sep 2017 19:18:42 +0000 (21:18 +0200)]
Please cherry-pick:
- removed export of basic company data, one day, an other approach rather than
  "single entity" export will maybe come

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Sun, 10 Sep 2017 13:44:39 +0000 (15:44 +0200)]
Please cherry-pick:
- renamed (admin)BusinessDataBean to (admin)BasicCompanyDataBean as this is
  basic company data and not any "business data"
- fixed/sorted imports
- also JSF tags need to be fixed

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Sun, 10 Sep 2017 18:05:58 +0000 (20:05 +0200)]
Please cherry-pick:
- renamed (admin)BusinessDataBean to (admin)BasicCompanyDataBean as this is
  basic company data and not any "business data"
- fixed/sorted imports
- also JSF tags need to be fixed

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease repeat:
Roland Häder [Sat, 9 Sep 2017 20:23:54 +0000 (22:23 +0200)]
Please repeat:
- renamed to project's prefix
- copied cache-based code from jfinancials

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Sat, 9 Sep 2017 10:54:16 +0000 (12:54 +0200)]
Please cherry-pick:
- renamed companyDataId -> basicDataId (already done in underlaying entity)
- implemented addBranchOffice() which will call newly added private methods to
  create a BranchOffice instance and validate if the address is already found
  in an other bean's cache
- for this, allBranchOffices() needs to be published in interface
- implemented afterBranchOfficeAddedEvent() event observer which will add the
  newly added branch office to the backing bean's cache
- now displaying link to company's website correctly or, if not provided, a
  replacement message
- same with email link, maybe one day I move this out to a custom JSF tag?
- added missing i18n strings
- generalized duplicate i18n strings
- added missing navigation cases

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Tue, 5 Sep 2017 19:57:09 +0000 (21:57 +0200)]
Please cherry-pick:
- renamed variable, more common accross projects

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Tue, 5 Sep 2017 18:07:21 +0000 (20:07 +0200)]
Please cherry-pick:
- splitted branch office form into basic data and address data fieldsets
- added much more missing i18n strings
- renamed a few before adding them as they were still basic_data

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Mon, 4 Sep 2017 22:27:47 +0000 (00:27 +0200)]
Please cherry-pick:
- added backing bean for general and administrative purposes for branch offices
- added template + JSF page for branch offices
- renamed business_contacts -> basic_company_data, more declarative
- including JSF page and folder
- all h:commandButton ids are now prefixed with "button_"
- TitleUtils.allPersonalTitlesAsList() is now deprecated as it does the same as
  invoking Arrays.asList()
- used more 'final' where possible, to prevent accidently assigned new values
  also known as "side effects"
- renaming season has started again: now renamed some i18n strings to become
  generalized
- removed noisy debug lines that are really no longer needed
- some lesser local variables

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Sun, 3 Sep 2017 15:50:06 +0000 (17:50 +0200)]
Please cherry-pick:
- removed not needed constructor from converter/validator
- reverted `@EJB` annotation in mobile-provider converter as it was not working

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Sun, 3 Sep 2017 02:40:58 +0000 (04:40 +0200)]
Please cherry-pick:
- if you get something about non-serializable injection, strange things happen,
  sometimes it works here, sometimes not ... :-(
- had to go back to programatic JNDI lookup in converters/validators as the JSF
  2.3 version + xsd reference did mess around with faces-config.xml
  auto-complete (NetBeans) and it looks like that context parameters are not
  loaded
- this way, some lookup() calls are not saved (unmanaged by container) but at
  least it works

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Sun, 3 Sep 2017 01:31:36 +0000 (03:31 +0200)]
Please cherry-pick:
- no more fully container-independency in favour of caching
- removed gf-client (no more Glassfish for already a long time)
- used `@NamedCache` (Payara-specific) for annotating fields, very nice, should
  become generic one day

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Sat, 2 Sep 2017 21:16:53 +0000 (23:16 +0200)]
Please cherry-pick:
- Ops, the license was GPLv3, not AGPLv3 which is now fixed (entirely replaced)
- in PostConstruct methods should no "complex" thing run, including not firing
  events which was needless here anyway
- if a company entry has no web site URL entered, display the company's name
  with no name under it but show a title message about this
- removed some left-over from old i18n strings

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease repeat/cherry-pick:
Roland Häder [Sat, 2 Sep 2017 19:59:31 +0000 (21:59 +0200)]
Please repeat/cherry-pick:
- added new dependency to JCache API which aims the right way, away from
  previously said and more "persistent" cache (on each reboot for now, but that
  is okay)
- there was no Javadoc Online available, so I added the Offline JAR version,
  sorry for one more binary!

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease rename/cherry-pick:
Roland Häder [Sat, 2 Sep 2017 19:52:41 +0000 (21:52 +0200)]
Please rename/cherry-pick:
- having to much session-scoped beans was a bad design idea anyway
- on each new session, "tons" of EJB (JNDI lookup + business method invocation)
  will occur which will overrun the EJB container soon or later
- also having JNDI lookup in PostConstruct-annotated methods was bad, too
  because it "confuses" the web container
- while it is building proxy objects arround every managed class (like also now
  converters, JSF 2.3.x only) especially backing beans, there should be no JNDI
  lookup hapening
- but initializing some lists for performance reasons is the right thing to do
- maybe later some other annotation will be used instead, but for now it is fine
- so let's make this painless and rename all session-scoped backing beans and
  re-annotate them with RequestScoped for now as this is also reduces memory
  foot-print

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Fri, 1 Sep 2017 22:22:54 +0000 (00:22 +0200)]
Please cherry-pick:
- I accidently (oversaw it) used Converter<MyPoji> which is JSF 2.3 (beta
  currently) way, now I could revert it, but better is to stay.
- made all converters/validators that invoke business methods (EJB) managed
  so the annotation EJB will work again.

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease cherry-pick:
Roland Häder [Fri, 1 Sep 2017 22:06:40 +0000 (00:06 +0200)]
Please cherry-pick:
- added wrong navigation rules, ops
- added noisy debug lines, somehow f:attribute is not ending up in validator
- removed rendered attribute from same JSF tag

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Wed, 30 Aug 2017 19:32:10 +0000 (21:32 +0200)]
Please cherry-pick:
- allow this tag to be not rendered (for conditional rendering very important)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Tue, 29 Aug 2017 21:53:20 +0000 (23:53 +0200)]
Please cherry-pick:
- added optional parameter "contact" to many custom JSF tags
- removed no longer needed error messages as the template has become a custom
  JSF tag
- still having some StackoverflowError e.g. in view admin_landline_show.xhtml

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Tue, 29 Aug 2017 20:32:55 +0000 (22:32 +0200)]
Please cherry-pick:
- rewrote initializeList() a bit to become PostConstruct as the injection is
  already done early
- remote more JNDI lookups from PostConstruct-annotated method to @EJB
  annotation

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Tue, 29 Aug 2017 19:34:12 +0000 (21:34 +0200)]
Please cherry-pick:
- removed many PostConstruct methods as this was a bad idea anyway as it
  confuses the container while it is wrapping the managed beans into proxy
  objects. @EJB(lookup="full-JNDI-name") does fully replace this many code
- still I kept some there and may have to re-rename the now private method
- removed some JSF-only and some obsolete methods from interface and/or bean
- added GNU header to beans.xml

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 27 Aug 2017 13:23:58 +0000 (15:23 +0200)]
Please cherry-pick:
- convention: always have error messages above "normal tags" (in case of
  error-free operation)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 27 Aug 2017 13:21:06 +0000 (15:21 +0200)]
Please cherry-pick:
- converted administrative fax, land-line and mobile number data templates as
  custom JSF tags, having again more type-safe tags instead of outputting
  messages on missing bean properties

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 27 Aug 2017 13:02:11 +0000 (15:02 +0200)]
Please cherry-pick:
- rewrote templates (ui:include with unsafe ui:param) to custom JSF tags (
  type-safe parameter, including required parameter)
- also the as type set interfaces are being considered by NetBeans auto-complete
  and matching elements are sorted up and marked bold, very nice!
- remove no longer needed i18n strings ("targetController not set" + "mode")

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 26 Aug 2017 22:56:30 +0000 (00:56 +0200)]
Please cherry-pick:
- converted template to custom JSF tag widgets:outputAdminContactDataFormFields
  and replaced all occurrences, 2 optional parameter "formMode" (ex. "mode" and
  "allowEmptyRequiredData" are accepted

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 26 Aug 2017 22:34:04 +0000 (00:34 +0200)]
Please cherry-pick:
- made CSS class name more common: foo-bar and not foo_bar
- put copyright in h:outputText

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 26 Aug 2017 22:30:52 +0000 (00:30 +0200)]
Please cherry-pick:
- added overflow:auto for footer
- put copyright into h:outputText
- changed CSS class into id

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 26 Aug 2017 22:19:11 +0000 (00:19 +0200)]
Please cherry-pick:
- fixed name

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoDon't cherry-pick:
Roland Häder [Sat, 26 Aug 2017 21:28:20 +0000 (23:28 +0200)]
Don't cherry-pick:
- renamed to Addressbook namespace + fixed wrong class usage

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 26 Aug 2017 20:42:41 +0000 (22:42 +0200)]
Please cherry-pick:
- rewrote message-box tag to have 2 CSS classes, one for the whole (alert) box,
  one for the message itself
- renamed a lot CSS classes/ids to more common naming covention: foo-bar and
  not foo_bar
- renamed i18n string to ADMIN_FEATURE_UNFINISHED_WARNING as this can be generic
- other small CSS rewrites

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 26 Aug 2017 10:41:21 +0000 (12:41 +0200)]
Please cherry-pick:
- added converter for headquarters data (please rename + fix JNDI)
- added validator for URLs (please rename)
- renamed allowEmptyEmail to allowEmptyValue and used it more as this is generic
- fixed mixture of headquarters and company founder (my mistake)
- added form elements to set company-contact and owning user instance
- added navigation rules for links from business-contact list to sub pages
  (still some missing)
- added missing i18n strings

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Fri, 25 Aug 2017 21:40:11 +0000 (23:40 +0200)]
Please cherry-pick:
- yet-another CSS fix: .message_header needs rounded corner in up right corner
  to no overlap the box' round corner ... or?

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