]> git.mxchange.org Git - pizzaservice-war.git/log
pizzaservice-war.git
7 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>
7 years agoDon't cherry-pick:
Roland Häder [Tue, 12 Sep 2017 23:04:55 +0000 (01:04 +0200)]
Don't cherry-pick:
- pre-renamed some stuff for upcoming rewrite
- fixed imports as there is now almost (?) everywhere 'model' for entity classes

Signed-off-by: Roland Häder <roland@mxchange.org>
7 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 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>
7 years agoPlease cherry-pick:
Roland Häder [Fri, 25 Aug 2017 21:34:25 +0000 (23:34 +0200)]
Please cherry-pick:
- also .table_row needs to have overflow:auto to have nice output

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Fri, 25 Aug 2017 21:29:57 +0000 (23:29 +0200)]
Please cherry-pick:
- need to set over-flow: auto for #menu_content, else the footer will "float"
  above the website
- all ::after pseudo CSS classes are now on end of file
- one day, I will rewrite this to PrimeFaces theme!

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoMust be countryPhoneCode (49 for Germany, ...) and not countryCode (DE for Germany...
Roland Häder [Thu, 24 Aug 2017 21:12:27 +0000 (23:12 +0200)]
Must be countryPhoneCode (49 for Germany, ...) and not countryCode (DE for Germany) in a pre-dial selection box

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoFixes:
Roland Häder [Thu, 24 Aug 2017 21:07:51 +0000 (23:07 +0200)]
Fixes:
- no version numbers in build properties, keep them generic
- also all lower-case to avoid mixure of up  and lower case

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Thu, 24 Aug 2017 20:56:39 +0000 (22:56 +0200)]
Please cherry-pick:
- got rid of CSS class 'clear' in favour of pseudo class ::after which does the
  same thing with much lesser HTML code
- very nice thing!

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Thu, 24 Aug 2017 19:40:00 +0000 (21:40 +0200)]
Please cherry-pick:
- converted div (no JSF component, not controlled by JSF engine) to h:panelGroup
- got rid of some ui:fragment in favour of h:panelGroup and div tag
- added some missing container (h:panelGroup again) around some ui:include

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoMust be RequestScoped annotated as it is an administrative bean (project
Roland Häder [Thu, 24 Aug 2017 18:25:21 +0000 (20:25 +0200)]
Must be RequestScoped annotated as it is an administrative bean (project
convention). Only the "regular" (non-administrative) beans (except bean helper)
may be annotated with SessionScoped.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Thu, 24 Aug 2017 18:12:50 +0000 (20:12 +0200)]
Please cherry-pick:
- tax nunber and website URL of a company is not required, was a copy-paste
  mistake anyway
- fixed other i18n strings in same template
- added missing i18n strings
- minor: removed double space

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease repeat:
Roland Häder [Thu, 24 Aug 2017 17:38:04 +0000 (19:38 +0200)]
Please repeat:
- fixed JNDI names, wrong remote interface part

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 20 Aug 2017 23:40:05 +0000 (01:40 +0200)]
Please cherry-pick:
- should be without _mini here, later I will rename this all again
- CSS classes and ids should be with dashes, not underscores

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 20 Aug 2017 23:36:16 +0000 (01:36 +0200)]
Please cherry-pick:
- converted mobile-numer, profile-mode and personal-title  selection box into
  custom JSF tags (awsome stuff!)
- added ERROR_PARAMETER_LABEL_MESSAGE_NOT_SET i18n string for JSF label messages
- renamed generic.jsf.taglib.xml to widgets.jsf.taglib.xml, fitting previous
  renamings

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 20 Aug 2017 21:26:56 +0000 (23:26 +0200)]
Please cherry-pick:
- renamed generic -> widgets
- changed namespace http://mxchange.org/jsf/core to http://mxchange.org/jsf/core/widgets
- I think, this is more clear than before ...

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 20 Aug 2017 21:13:59 +0000 (23:13 +0200)]
Please cherry-pick:
- opps, must be 'mode'

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 20 Aug 2017 21:06:30 +0000 (23:06 +0200)]
Please cherry-pick:
- common mistake: double-path copy-pasted! ;-)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoMOJARRA - Please cherry-pick:
Roland Häder [Sun, 20 Aug 2017 18:29:37 +0000 (20:29 +0200)]
MOJARRA - Please cherry-pick:
- introduced own (still project-local) taglib for message template replacement
- now this is much shorter, down to only one JSF tag instead of 2-3 minimum

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 20 Aug 2017 19:49:49 +0000 (21:49 +0200)]
Please cherry-pick:
- throwing a ConverterException in a validator is wrong, maybe copy-paste did it?
- added TODO for getting rid of wrong constructor in birthday validator
- renamed variable

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 20 Aug 2017 18:26:21 +0000 (20:26 +0200)]
Please cherry-pick:
- new name

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 20 Aug 2017 18:24:18 +0000 (20:24 +0200)]
Please cherry-pick:
- rewrote handling allowEmptyEmail flag
- added noisy debug line

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 20 Aug 2017 12:15:48 +0000 (14:15 +0200)]
Please cherry-pick:
- used other regex for email address validation as it didn't work even with mine
- *2 is no longer the case

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 20 Aug 2017 12:00:21 +0000 (14:00 +0200)]
Please cherry-pick:
- re-added (huh? was somehow lost?) user data form with user name and password
- moved notice from user (old place) to contact ("new" place) as it was
  previously double and in user obsolete, let all contacts have at least one
  email address
- renamed i18n string accordingly (naming-convention)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoFixed JNDI names + moved converter to proper packages
Roland Häder [Sat, 19 Aug 2017 20:34:31 +0000 (22:34 +0200)]
Fixed JNDI names + moved converter to proper packages

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 19 Aug 2017 19:56:42 +0000 (21:56 +0200)]
Please cherry-pick:
- this method is also only called from JSF views, no place in an interface
  which is for CDI bean -> bean calls
- this is mostly already deprecated but the interface shall remain

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 19 Aug 2017 19:48:30 +0000 (21:48 +0200)]
Please cherry-pick:
- also need to fix this, too
- let's hope, this lasts longer ... ;-)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 19 Aug 2017 18:53:28 +0000 (20:53 +0200)]
Please cherry-pick:
- added administrative and general backing bean for company employees + added
  JNDI lookup, still at wrong place
- Employees have an instance back to business basic data which makes it
  impossible for creation (no fancy AJAX stuff now) of business basic data
  with founder and/or contact person
- separated package of businessdata to business/basicdata so above
  business/company_employee package is nicely possible

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 19 Aug 2017 17:56:35 +0000 (19:56 +0200)]
Please cherry-pick:
- expanded business "contact"-s basic_data with all missing fields from entity
- added some fields, like contact person and company founder to backing bean
- added converter for company employees

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 19 Aug 2017 17:55:02 +0000 (19:55 +0200)]
Please cherry-pick:
- renamed template again, should be whole business "contact" and not just basic
  data

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 19 Aug 2017 16:24:32 +0000 (18:24 +0200)]
Please cherry-pick:
- renamed business_data -> business_basic_data
- renamed CONTACT_BUSINESS -> BUSINESS_BASIC_DATA and prevented double _DATA
- need to check on value, not converted email address: if e.g. an empty email
  address is submitted, JSF seem to handle it as NULL, not empty, which makes
  sense here at the converter, as 'value' is of type Object and not String

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 19 Aug 2017 15:07:03 +0000 (17:07 +0200)]
Please cherry-pick:
- removed debug lines, were to noisy and the localization bug has been fixed
- company name and legal status are no longer separated, some other i18n
  strings may still write about it

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPre cherry-pick: jcontacts-business-core/lib has changed again ...
Roland Häder [Sat, 19 Aug 2017 18:57:48 +0000 (20:57 +0200)]
Pre cherry-pick: jcontacts-business-core/lib has changed again ...

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sat, 19 Aug 2017 18:56:48 +0000 (20:56 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 19 Aug 2017 15:00:39 +0000 (17:00 +0200)]
Please cherry-pick:
- having legal status and company separated was no good idea anyway, so let's
  get rid of it here, too

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 19 Aug 2017 14:53:53 +0000 (16:53 +0200)]
Please cherry-pick:
- ops, not renamed???

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 19 Aug 2017 14:50:00 +0000 (16:50 +0200)]
Please cherry-pick:
- needs to be countryPhoneCode (e.g. 49 for Germany) and not countryCode
  (e.g. DE for Germany)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 19 Aug 2017 14:46:24 +0000 (16:46 +0200)]
Please cherry-pick:
- opps, double _data was not needed

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 19 Aug 2017 14:11:42 +0000 (16:11 +0200)]
Please cherry-pick:
- renamed JSF views with "contact_business" to "business_data"
- moved selection boxes to own template folder "selection_boxes"
- renamed + moved locale_selection_box.tpl to widgets/locale_change_widget.tpl
- renamed "generic" templates folder to "messages"
- TODO: moving out "country selection box" to a template can be done:
  + for each type, land-line and fax number have a separate template
  + the target controllers must all then have same naming, e.g. landLineCountry

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 19 Aug 2017 13:19:25 +0000 (15:19 +0200)]
Please cherry-pick:
- notifying a RequestScoped (partly including ViewScoped) bean about a locale
  change will not last long, better is to get the then changed locale from the
  view root again

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 19 Aug 2017 12:06:13 +0000 (14:06 +0200)]
Please cherry-pick:
- added missing event observing methods and fixed error to them
- well, in a RequestScoped-annotated bean, this won't help, which means won't work
- which needs rewrite again ... :-/

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 19 Aug 2017 11:18:04 +0000 (13:18 +0200)]
Please cherry-pick:
- changed List to Map to have locale name (e.g. de_DE) as key and the locale
  itself as value stored in a map for a quick lookup
- this map is also being used to handle browser's language-only locales, like
  "de" and not "de_AT" or other equivalents
- there is now a submit button for JS-less users to change locale

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 19 Aug 2017 11:14:32 +0000 (13:14 +0200)]
Please cherry-pick:
- used h:outputText (component) instead of (plain) text in view which is then
  controlled by the component
- do *always* remember that JSF and all of its expansions are component
  frameworks, rendering a WUI (Web User Interface) and not yet-another
  template language

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Fri, 18 Aug 2017 22:45:29 +0000 (00:45 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agodeeper namespace 'basicdata' has been added
Roland Häder [Fri, 18 Aug 2017 21:08:24 +0000 (23:08 +0200)]
deeper namespace 'basicdata' has been added

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Fri, 18 Aug 2017 21:03:45 +0000 (23:03 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 17 Aug 2017 20:51:40 +0000 (22:51 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 17 Aug 2017 20:45:17 +0000 (22:45 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Wed, 16 Aug 2017 21:46:31 +0000 (23:46 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Wed, 16 Aug 2017 19:47:47 +0000 (21:47 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Wed, 16 Aug 2017 19:44:43 +0000 (21:44 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agorenamed jshop-ee-lib -> jshop-lib as this is now a remote-interface-only project
Roland Häder [Wed, 16 Aug 2017 18:28:02 +0000 (20:28 +0200)]
renamed jshop-ee-lib -> jshop-lib as this is now a remote-interface-only project

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Tue, 15 Aug 2017 20:51:59 +0000 (22:51 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoDon't cherry-pick:
Roland Häder [Sat, 12 Aug 2017 16:03:10 +0000 (18:03 +0200)]
Don't cherry-pick:
- fixed EJB names, no more jshop-ejb as it has to be in each project's EJB
  project (right persistence unit)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoAlso needs to be moved as jcontact-business-core has changed (good convention).
Roland Häder [Thu, 10 Aug 2017 20:47:55 +0000 (22:47 +0200)]
Also needs to be moved as jcontact-business-core has changed (good convention).

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Thu, 10 Aug 2017 19:48:18 +0000 (21:48 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Mon, 7 Aug 2017 19:52:20 +0000 (21:52 +0200)]
Please cherry-pick:
- attempt to rewrite to h:doctype, but still not rendered.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoadded new dependency jproduct-lib
Roland Häder [Sun, 6 Aug 2017 21:29:31 +0000 (23:29 +0200)]
added new dependency jproduct-lib

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sun, 6 Aug 2017 21:22:43 +0000 (23:22 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued a bit with fixing:
Roland Häder [Sun, 6 Aug 2017 19:37:03 +0000 (21:37 +0200)]
Continued a bit with fixing:
- added missing method isRequiredPersonalDataSet() to administrative contact
  controller
- removed more methods from interfaces which are for JSF views only
- moved JNDI lookup into PostConstruct-annotated method, still not really
  fixing it as this will be invoked on construction of bean instances (in web
  container). This later really needs to be rewritten to a service-locator
  approach
- added observer method afterCustomerCreatedEvent() which will wait for events
  being fired when a customer instance has been created
- JSF views should normally not have HTML declaration, but Mojarra has a long
  outstanding bug that will not render doctype when the declaration is in the
  "master" template (see WEB-INF/templates/base.tpl)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoDon't cherry-pick:
Roland Häder [Sun, 6 Aug 2017 19:08:09 +0000 (21:08 +0200)]
Don't cherry-pick:
- updated jar(s)
- added new jars juser-acitivity-core/lib

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 5 Aug 2017 19:47:08 +0000 (21:47 +0200)]
Please cherry-pick:
- opps, somehow by that big cherry-pick, these changes got lost, now fully fixed

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease maybe cherry-pick:
Roland Häder [Sat, 5 Aug 2017 19:11:00 +0000 (21:11 +0200)]
Please maybe cherry-pick:
- added missing backing bean + interface for user acitity
- added dependency to juser-acitivty-core|lib
- with my ultimate daugher-fix applied! ;-)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 5 Aug 2017 17:56:41 +0000 (19:56 +0200)]
Please cherry-pick:
- event classes/interfaces have been renamed as they are not just for
  bean helpers

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 5 Aug 2017 13:39:42 +0000 (15:39 +0200)]
Please cherry-pick:
- renamed copySomeFooToController() to notifyControllerSomeFooConverted()
  as this reflects more what it now does
- added missing notify calls (see above)
- added missing onPostback attribute

7 years agoWIP: Please cherry-pick:
Roland Häder [Thu, 3 Aug 2017 19:43:01 +0000 (21:43 +0200)]
WIP: Please cherry-pick:
- renamed methods to make them more clear (current fax/land-line/mobile number)
- these methods and also getter/setter in bean helper are for JSF views only and
  should not be callable by other beans
- so this change breaks a lot again and I again need to rewrite it
- so more controller interfaces are now empty, maybe one day some methods will
  come back, but ...
- anyway, doing a lot CDI calls (in some methods +10 calls each) is really not
  good as CDI does take some time
- better reimplement it in CDI events which are more flexible as more beans can
  be reached than only those which are hard-coded in
- sorted members again

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sat, 5 Aug 2017 13:22:23 +0000 (15:22 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Mon, 31 Jul 2017 20:34:50 +0000 (22:34 +0200)]
Please cherry-pick:
- BaseLongeValidator has been renamed to BaseNumberValidator as it also validates Integer and Short

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Mon, 31 Jul 2017 20:31:36 +0000 (22:31 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sun, 30 Jul 2017 20:03:49 +0000 (22:03 +0200)]
Please cherry-pick:
- rewrite of almost all beans towards more cleanness
- now fields in backing beans can be "only" be set by JSF views or observer
  methods
- removed @Local from interfaces, they are already local and maybe that
  annotation is for EJBs only?
- passing beanHelper.fooBar over a JSF view to a backing bean is not needed,
  the bean can do it by itself, by CDI

- fixed tpzo

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sun, 30 Jul 2017 20:12:53 +0000 (22:12 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Häder [Sun, 30 Jul 2017 19:49:04 +0000 (21:49 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 29 Jul 2017 22:04:56 +0000 (00:04 +0200)]
Please cherry-pick:
- opps, these views needs to be 2-sided, guest and user area

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 29 Jul 2017 21:56:10 +0000 (23:56 +0200)]
Please cherry-pick:
- no, ui:define is plain wrong for this. I should have known ... ;-(

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 29 Jul 2017 21:53:00 +0000 (23:53 +0200)]
Please cherry-pick:
- added missing i18n string
- removed double error message

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 29 Jul 2017 21:47:34 +0000 (23:47 +0200)]
Please cherry-pick:
- &nbsp; seems to longer work with newer Majarra (2.3.2) and it was a bad idea
  anyway, as you can have simple space characters in surrounding h:outputText's
  values
- fixed EL backing bean method call

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 29 Jul 2017 19:55:18 +0000 (21:55 +0200)]
Please cherry-pick:
- allBusinessContacts() is now no longer in admin bean (request-scoped) but in
  generic business "contacts" bean (session-scoped)
- &nbsp; has caused error message, let's use a space here directly

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 29 Jul 2017 16:33:43 +0000 (18:33 +0200)]
Please cherry-pick:
- let's show general error messages below footer and not within content's div
- still this may need to be hidden on prod servers (see project stage in web.xml)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Sat, 29 Jul 2017 00:05:41 +0000 (02:05 +0200)]
Please cherry-pick:
- included namespace for all pages, still DOCTYPE is not present ... :-(

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Fri, 28 Jul 2017 23:21:02 +0000 (01:21 +0200)]
Please cherry-pick:
- all outside ui:composition is being *IGNORED* (maybe only the XML header by
  NetBeans IDE is used)
- so you have to move your DOCTYPE and html tag to

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Fri, 28 Jul 2017 22:25:58 +0000 (00:25 +0200)]
Please cherry-pick:
<footer> is HTML5 (almost broken-by-design, thanks to DRM), so better let's use
<div> here which is again XHTML-compatible.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Thu, 27 Jul 2017 20:50:20 +0000 (22:50 +0200)]
Please cherry-pick:
- mobileCarrier is the old name, mobileProvider is now the right one

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Thu, 27 Jul 2017 20:39:58 +0000 (22:39 +0200)]
Please cherry-pick:
- improved exception message when the expected interface is not implemented
  (meaning wrong call)
- now the value's simple class name is being included

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued a bit:
Roland Häder [Fri, 28 Jul 2017 21:34:17 +0000 (23:34 +0200)]
Continued a bit:
- converted Apache POI to library (as usual with all external libraries)
- updated Apache POI to 3.15 (3.16 is pending)
- updated PrimeFaces to 6.0

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease repeat:
Roland Häder [Thu, 27 Jul 2017 21:08:43 +0000 (23:08 +0200)]
Please repeat:
- renamed package to businessdata (not just contact, okay, still the newly added depdencies are named like that)
- renamed classes/interfaces accordingly
- removed Local annotation as this is for local EJBs (?)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoadded new depdendencies jcontacts-business-core/lib, maybe also companies would
Roland Häder [Thu, 27 Jul 2017 21:06:43 +0000 (23:06 +0200)]
added new depdendencies jcontacts-business-core/lib, maybe also companies would
like to order pizza? ;-)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoFixed JNDI name
Roland Häder [Thu, 27 Jul 2017 20:34:12 +0000 (22:34 +0200)]
Fixed JNDI name

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