]> git.mxchange.org Git - jjobs-war.git/log
jjobs-war.git
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 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:28 +0000 (05:28 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
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>
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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 years agoUpdated jar(s)
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>
4 years agoUpdated jar(s)
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>
4 years agoUpdated copyright year
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>
4 years agoUpdated copyright year
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>
4 years agoUpdated copyright year
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>
4 years agoUpdated copyright year
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>
4 years agoUpdated jar(s)
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>
4 years agoDon't cherry-pick:
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>
4 years agoDon't cherry-pick:
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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 years agoPlease cherry-pick:
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>
4 years agoPlease cherry-pick:
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>
4 years agoPlease cherry-pick:
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>
4 years agoPlease cherry-pick:
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>
4 years agoPlease cherry-pick:
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>
4 years agoPlease cherry-pick:
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>
4 years agoPlease cherry-pick:
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>
4 years agoPlease cherry-pick:
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>
4 years agoPlease cherry-pick:
Roland Häder [Fri, 30 Mar 2018 17:36:50 +0000 (19:36 +0200)]
Please cherry-pick:
- 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
- finally, no need for javax.faces.STATE_SAVING_METHOD=client anymore! yeah!
- rewrote menu system (admin at least, guest and user login is following) to a
  menu-bar-based system which saves a lot space and is a more modern approach
- added filter for not caching xhtml (JSF view) requests

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Tue, 27 Mar 2018 21:41:12 +0000 (23:41 +0200)]
Please cherry-pick:
- added CHOICE_ALL

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Tue, 27 Mar 2018 21:29:51 +0000 (23:29 +0200)]
Please cherry-pick:
- fixed API documentation URL to "offical"

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease repeat:
Roland Häder [Sun, 25 Mar 2018 15:48:45 +0000 (17:48 +0200)]
Please repeat:
- updated Apache POI to 3.17

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sun, 25 Mar 2018 01:17:12 +0000 (03:17 +0200)]
Please cherry-pick:
- added requiredMessage to countryI18nKey (resurrected?)
- no size="x" for such keys, including for department

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease repeat:
Roland Häder [Sat, 24 Mar 2018 22:18:46 +0000 (23:18 +0100)]
Please repeat:
- updated PrimeFaces to 6.2

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sat, 24 Mar 2018 22:16:11 +0000 (23:16 +0100)]
Please cherry-pick:
- used on validator:emailAddressValidator as this allows empty values being
  ignored
- p:growl's autoUpdate and any other is deprecated, better use p:autoUpdate
  instead (new PrimeFaces 6.2 deprecation fixed)
- used $() instead of `` for monitoring script

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sat, 24 Mar 2018 21:58:23 +0000 (22:58 +0100)]
Please cherry-pick:
- added more i18n strings
- used own validator:emailAddressValidator as this allows empty values to be
  ignored

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sat, 24 Mar 2018 18:24:16 +0000 (19:24 +0100)]
Please cherry-pick:
- f:validator is no longer working, need to use own JSF tag
  validator:employeeEmailAddressValidator which allows a second parameter
- there is no type="secret", need to be type="password"
- added p:inputTex for headquarter's company name
- added selection box for profile-mode using "new" getter in data controller
- added selection box for branch office owner (employee)
- added navigation rule from employee list to to assign branch office to
  employee
- fixed leftovers from duplication from branch office to employee/department
- added navigator="true"
- renamed employeeCompany to employeeBasicData
- reformatted p:inputText in admin_form_contact_data.tpl
- allow null profile mode (?)
- set org.jboss.weld.development=false
- registered validators.jsf.taglib.xml
- updated/changed copyright to Free Software Foundation

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sat, 24 Mar 2018 16:09:34 +0000 (17:09 +0100)]
Please cherry-pick:
- isEmailAddressRegistered() should always, like other public methods, validate
  their parameter
- introduced isCompanyNameUsed() which is similar to isEmailAddressRegistered()
  which will be used to check in JS107 cache if company name is already used
- make sure only non-null email addresses are added to emailAddressCache
- updated/changed copyright to Free Software Foundation
- added TODO to get rid of generateRandomUserName() business method is which
  deprecated anyway
- removed isPublicUserProfileEnabled()
- AdminBranchOfficeWebRequestBean is surely a request-scoped backing bean
- added to same bean properties for last house number and extension of branch
  office
- renamed bean field employeePersonalContact -> employeePersonalData
- fixed some leftovers from duplication of branch office controller for employees
- same with department bean
- used more MessageFormat.format() which prevents more String objects polluting
  both heaps
- injected feature backing bean into admin user bean
- added missing bean property for user's profile mode to same bean
- introduced private method createUserInstance() to same bean
- null-ed more fields in same bean in clear() method
- fixed imports of ContactUtils -> Contacts
- AdminHeadquarterWebRequestBean is surely a request-scoped backing bean
- added to same bean properties for last house number and extension of
  headquarter
- fixed some leftovers from duplication of branch office controller for headquarter

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Tue, 20 Mar 2018 23:49:37 +0000 (00:49 +0100)]
Please cherry-pick:
- added ServletContextListener implementation for (later) pre-initialize JS107
  cache before any page is served
- added validators for basic company data, headquarter data and branch office's
  email addresses
- rewrote converters which have allowEmptyValue flag to handle it correctly
  (need that validators.jsf.taglib.xml for this to work)
- renamed company name validator as this is for basic company data ... ;-)
- updated/changed copyright year to Free Software Foundation

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Tue, 20 Mar 2018 23:19:39 +0000 (00:19 +0100)]
Please cherry-pick:
- removed no longer required profile-mode backing bean
- removed admin_form_user_personal_data.tpl as there is no need for it
- added validators.jsf.taglib.xml which holds descriptions for JSF validators ...
- always sort/filter by direct entity
- fixed i18n keys, was missing an underscore

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Fri, 3 Nov 2017 23:56:18 +0000 (00:56 +0100)]
Please cherry-pick:
- removed company from "basic_company_data" (and class names) as there will be
  no other basic data
- added view for headquarter listing (administrative)
- used more beanHelper's renderFoo(foo) methods as this is much easier to debug
- renamed ADMIN_SHOW_PHONE_NUMBER to ADMIN_SHOW_<FAX|LAND_LINE|MOBILE>_NUMBER
- added menu for headquarters (administrative)
- added custom JSF tag for administrative "mini-links" for headquarters
- added templates for form and opening times of headquarters
- fixed employee link outcomes, was copy-paste mistake (ops)
- renamed more headquarters -> headquarter
- addEmployee() is now "basically finished"
- changed h:outputLink to p:link which suits better here
- added missing navigation rules for headquarters/employees
- isCompanyNameUsed() and isEmailAddressRegistered() should be "basically
  finished"
- still one isEmailAddressRegistered() is left in generic contactController
- first value, then variable on comparison (null == someVariable)
- lot's more fixes/improvements I cannot remember ...

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Thu, 2 Nov 2017 21:08:06 +0000 (22:08 +0100)]
Please cherry-pick:
- upgraded PrimeFaces to latest community version 6.1

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Tue, 31 Oct 2017 18:55:52 +0000 (19:55 +0100)]
Please cherry-pick:
- added support for local i18n string bundles which may be useful when the
  application itself has i18n keys that could be "dynamic" (entered by
  administrator)
- all converters are now performing a CDI "lookup" and no EJB calls anymore
  which is nice for performance
- PrimeFaces have an upcoming feature when scripts and maybe CSS can be bundled
  which improves load performance of the web application
- but only with 6.2+ and with older versions this option is safely ignored
- removed CSS class "input" and other "2-corner rouded" styles, they may return
  in form of an own theme?

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sun, 29 Oct 2017 12:42:57 +0000 (13:42 +0100)]
Please cherry-pick:
- fixed JNDI names for java:module, must be: java:module/<SimpleClassName>

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sat, 28 Oct 2017 22:54:51 +0000 (00:54 +0200)]
Please cherry-pick:
- used MessageFormat.format() instead of concating, reducing String objects
- moved comment out of ui:composition which avoids adding another ui-row to the
  DOM document
- removed extra space in CSS class list

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sat, 28 Oct 2017 16:34:03 +0000 (18:34 +0200)]
Please cherry-pick:
- renamed bundle -> generic as this is no longer the only language bundle
- renamed namespace from widgets to core as also other custom widgets (JSF tags)
  may come

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Fri, 27 Oct 2017 20:35:04 +0000 (22:35 +0200)]
Please cherry-pick:
- it is a jQuery-powered form, so need to take jQuery's submit() version instead
  of DOM document's

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Tue, 17 Oct 2017 21:42:44 +0000 (23:42 +0200)]
Please cherry-pick:
- switched converters/validators which are converting primary keys (id numbers)
  into entities from EJB-based lookup to backing-bean-based lookup as this is
  much better performing (EJB calls are relative "expensive")
- the backing bean will then check cache which is basically a distributed Map
  (Cache interface) where the primary key is also the key for cache entries
- a SomeEntityNotFoundException is being thrown when containsKey() returns
  false which is then caught by the calling method
- fixed imports from "renaming season" ;-)
- renamed contactsCache -> contactCache as other caches are named same way
- no need for company employee, basic data, branch offices and departments

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sat, 14 Oct 2017 19:03:47 +0000 (21:03 +0200)]
Please cherry-pick:
- simplified for() loop, no need for extra iteration + next instance as a simple
  double-dot (:) does the same on a List<Foo>

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Thu, 12 Oct 2017 23:51:26 +0000 (01:51 +0200)]
Please cherry-pick:
- added template for adding branch office opening times
- added all required fields in adminBranchOfficeController bean
- opening times for branch offices are now set, if provided, in new branchOffice
  instance
- double opening times won't be accepted
- added clear() method, seem not to affect formular in PrimeFaces
- added missing navigation cases

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Thu, 12 Oct 2017 20:13:09 +0000 (22:13 +0200)]
Please cherry-pick:
- loading of both i18n (resource) bundles is now possible
- departmentName has been transformed into departmentI18nKey to allow
  localization of the department's name
- also rewrote i18n key for entering department's i18n key
- splitted header line and "enter bla" for department i18n key, was to long

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Wed, 11 Oct 2017 20:51:47 +0000 (22:51 +0200)]
Please cherry-pick:
- preparation for rewrite: removed rendered attribute
- used fn:length(someList) instead of someList.size()

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sun, 8 Oct 2017 16:55:25 +0000 (18:55 +0200)]
Please cherry-pick:
- rewrote administrative user list to PrimeFaces with filters and multi-sortable
  and resizable columns
- fixed header facet for mobile provider list
- rewrote admin_form_user/contact_data.tpl to response p:panelGrid
- converted div to h:panelGroup
- added more "static" data like personal title, account status and profile mode
- added missing i18n strings

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sun, 8 Oct 2017 00:16:37 +0000 (02:16 +0200)]
Please cherry-pick:
- also this EJB was renamed, no company-employee, is a bit double-redundant ...

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sun, 8 Oct 2017 00:07:03 +0000 (02:07 +0200)]
Please cherry-pick:
- renamed companyEmployee to employee as there was no need for
- also renamed EJB name and backing beans
- half-added event for being fired (and fully observed by general bean) when an
  employee has been added
- if an employee's displayed name is being rendered, also try to render an
  assigned department (if any)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sat, 7 Oct 2017 22:41:06 +0000 (00:41 +0200)]
Please cherry-pick:
- added backing bean for departments and opening times
- added converter for DayOfTheWeek enumeration
- added required getter for above enum in dataController
- added administrative list views and "add-form" template for above new beans
- added required navigation rules (not opening times so far)
- added missing i18n strings
- renamed some i18n strings which are now more clear
- added custom JSF tags for above new beans (show/edit/delete)
- removed no longer needed CSS classes/ids as this is now done by panel grids
- removed divider-right CSS class
- added more ui-noborder where required (no ugly over-bordering ... ;-)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sun, 1 Oct 2017 19:51:14 +0000 (21:51 +0200)]
Please cherry-pick:
- rewrote branch office/employee list to filtering, sorting list
- also used f:facet name="<footer|header>" instead of h:panelGroup+hX to make
  more generic table footer and header
- disabled filtering for creation timestamps and action links
- renamed some i18n strings, let them have plural (more than one item could be
  listed)
- renamed COMPANY_FOO to only FOO as no other employees or departments (e.g.
  fire department) will this application be about
- had switched STATE_SAVING_METHOD to server for testing things, missed to set
  it back before committing, now set back to client
- added navigation rules for departments and opening times
- added missing i18n strings

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sun, 1 Oct 2017 16:11:22 +0000 (18:11 +0200)]
Please cherry-pick:
- no more "title" but "document_title" now
- also "document_<admin|guest|login>_title" which is for the <title> tag
- the extra title above the content is now moved into the page header tag which
  reduces redundant stuff (see content_header)
- converted admin_form_employee_data.tpl to new (more responsive) way
- added missing i18n strings
- got rid of "fieldset" CSS class

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sun, 1 Oct 2017 15:41:53 +0000 (17:41 +0200)]
Please cherry-pick:
- renamed template, no plural is needed

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Fri, 29 Sep 2017 23:06:00 +0000 (01:06 +0200)]
Please cherry-pick:
- removed no longer used backing bean injections, may reduce memory footprint
- added project-specific JSF taglib
- made long one-line p:selectCheckboxMenu into multi-line to have it easier
  updated
- renamed *_BRANCH_OFFICES_* to *_BRANCH_OFFICE_*
- added missing i18n strings

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Fri, 29 Sep 2017 21:38:56 +0000 (23:38 +0200)]
Please cherry-pick:
- merged default.css + layout.css into custom.css as this is really what it is
- however, these CSS classes/ids may fade step-by-step away in favour of jQuery
  UI theme
- table-medium CSS class was to much static and so not responsive, replaced all
  by table-full

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Fri, 29 Sep 2017 21:14:05 +0000 (23:14 +0200)]
Please cherry-pick:
- more rewrites towards responsiveness and PrimeFaces
- added converter for departments (company)
- added custom JSF tag for administrative mini links for employees
- converted more JSF tags into a few custom JSF tags, panelGrid is more used
- moved out project-specific menu items to project.tpl
- converted personal-title and mobile into selection box (custom JSF tags)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Sun, 24 Sep 2017 12:18:44 +0000 (14:18 +0200)]
Please cherry-pick:
- the general resource bundle are now loaded (in Base<Project>Bean) only once
  and then kept in static field
- f:view is now back expanded over whole view, maybe not needed?
- fixed mess of msg (general) and project (-specific) i18n strings
- added missing i18n strings
- added helper method renderBranchOffice() and renderContact() which will
  render branch office and contact data respectively for JSF views. If not set
  (null provided), an empty string is returned.

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoPlease cherry-pick:
Roland Häder [Fri, 22 Sep 2017 22:24:16 +0000 (00:24 +0200)]
Please cherry-pick:
- need to change java.util.Calendar (bye bye) to java.util.Date in favour of
  PrimeFaces' p:calendar [!] tag
- added more i18n strings

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 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>
5 years agoUpdated jar(s)
Roland Häder [Wed, 26 Jun 2019 17:48:19 +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:23 +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:29:57 +0000 (02:29 +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:46:23 +0000 (16:46 +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>