Roland Häder [Sat, 29 Jul 2017 21:47:51 +0000 (23:47 +0200)]
Don't cherry-pick:
- 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>
Roland Häder [Sat, 29 Jul 2017 21:47:34 +0000 (23:47 +0200)]
Please cherry-pick:
- 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>
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)
- has caused error message, let's use a space here directly
Signed-off-by: Roland Häder <roland@mxchange.org>
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>
Roland Häder [Sat, 29 Jul 2017 00:06:18 +0000 (02:06 +0200)]
Don't cherry-pick:
- also have here moved to proper way
Signed-off-by: Roland Häder <roland@mxchange.org>
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>
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>
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>
Roland Häder [Fri, 28 Jul 2017 22:00:49 +0000 (00:00 +0200)]
changed to common way, no version number in variables
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 28 Jul 2017 21:35:36 +0000 (23:35 +0200)]
Please cherry-pick:
- added JavaDoc URL for Apache POI
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 27 Jul 2017 21:10:33 +0000 (23:10 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 27 Jul 2017 21:08:56 +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>
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>
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>
Roland Häder [Thu, 27 Jul 2017 20:33:46 +0000 (22:33 +0200)]
Fixed JNDI name
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 27 Jul 2017 18:03:39 +0000 (20:03 +0200)]
Please cherry-pick:
- sorted members
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 26 Jul 2017 17:43:39 +0000 (19:43 +0200)]
added .gitattributes where missing
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 25 Jul 2017 21:14:34 +0000 (23:14 +0200)]
Please cherry-pick:
- this list can be easily cached in a session-scoped bean to have lesser
"expensive" EJB calls.
Roland Häder [Tue, 25 Jul 2017 20:34:35 +0000 (22:34 +0200)]
Please repeat:
- all administrative beans must be request-scoped as they should always "forget" their data
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 25 Jul 2017 20:17:48 +0000 (22:17 +0200)]
opps, countryCode is DE for Germany, but I need 49 (phoneCode) here.
Roland Häder [Tue, 25 Jul 2017 19:26:30 +0000 (21:26 +0200)]
Please cherry-pick
- opps, wrong renaming here
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 25 Jul 2017 19:11:21 +0000 (21:11 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 25 Jul 2017 19:11:05 +0000 (21:11 +0200)]
Please cherry-pick:
- fixed id, should be form-specific
- added more missing i18n strings
- legal status can be now optional for supporting single-person
companies (how do you call this in English?)
Roland Häder [Mon, 24 Jul 2017 21:20:36 +0000 (23:20 +0200)]
Please cherry-pick (Massive rewrite):
Only jcontacts-business-core:
- added administrative session-scoped bean (aka. "controller") for business
data
- added initial JSF view and template for above bean, added also first form
fields
- added option to enable (default) or disable business contacts in admin
menu
In general:
- removed h:outputText where it was not needed as the parent JSF tag can
do it, too
- still I'm a bit undecided about where the attribute styleClass is used
- fixed i18n key, was a copy-paste mistake
- added missing for-attribute
- phoneId was long time ago valid, now that there are 2 numbers,
land-line and fax, the ids should be named accordingly
- added validator for email address validation
- removed id-attribute where it was not really needed or might cause
harm to the rendering engine (?)
- h:message should be always outside, h:panelGroup, not really required
by JSF but by design (consistency)
- added validatorMessage-attribute for email address fields
- added context parameter (thanks to BalusC for the idea) for making all
empty strings being interpreted as null
- added missing i18n strings
Performance rewrites:
- rewrote converters and validators, they seem to be re-instanciated after
each use, so the set EJB instances must be static to be loaded and set
on-demand
- still this may ask for a lot room for improvement as the EJB is still called
each time the converter/validator is being used
- also the Pattern instance for email validator should be "static cached"
because it will use a lot CPU cycles and will then slow-down the application
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 15:06:11 +0000 (17:06 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 11:51:18 +0000 (13:51 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 10:17:18 +0000 (12:17 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 10:09:08 +0000 (12:09 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 22 Jul 2017 22:39:49 +0000 (00:39 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 22 Jul 2017 22:01:40 +0000 (00:01 +0200)]
Opps, need to add this ... + no GmbH here. ;-)
Roland Häder [Sat, 22 Jul 2017 21:43:48 +0000 (23:43 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 14 Jul 2017 18:45:58 +0000 (20:45 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 17 Jul 2017 15:23:56 +0000 (17:23 +0200)]
Please cherry-pick:
- renamed feature 'user_name_required' to
'user_login_requires_user_name' to make it more clear
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 17 Jul 2017 14:37:31 +0000 (16:37 +0200)]
Please cherry-pick:
- internationalized "Administration" so it can be translated in many
other languages
- put ui:insert for "metadata" into f:view, still broken!
- no need for "id-ing" h:body/head as they should occur once anyway
- moved f:metadata back into ui:component, still broken and expection
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 17 Jul 2017 12:00:53 +0000 (14:00 +0200)]
Please cherry-pick:
- cleanups in JSF, some missing helper calls added, still I need to
figure out where to put <f:metadata> correctly ... :-/
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 17 Jul 2017 10:21:31 +0000 (12:21 +0200)]
Please cherry-pick:
- added missing converter for land-line and fax numbers
- renamed converter after naming-convetion, see below
Convention:
A converter converts mobile number instances from their corresponding
id numbers and vise versa, so it should be called MobileNumberConverter
for FacesConverter annotation and <Project>MobileNumberConverter for
class name.
Roland Häder [Fri, 14 Jul 2017 13:47:08 +0000 (15:47 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 14 Jul 2017 12:49:00 +0000 (14:49 +0200)]
added documentation for cdi-api.jar
Roland Haeder [Fri, 14 Jul 2017 12:42:04 +0000 (14:42 +0200)]
Fixed i18n key
Roland Häder [Wed, 12 Jul 2017 22:39:17 +0000 (00:39 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 22:14:35 +0000 (00:14 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 21:54:23 +0000 (23:54 +0200)]
opps, now really fixed
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 21:48:51 +0000 (23:48 +0200)]
it is user->login, not login->user
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 21:47:24 +0000 (23:47 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 21:43:14 +0000 (23:43 +0200)]
updated JNDIs because package/project has changed
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 19:30:17 +0000 (21:30 +0200)]
Please cherry-pick:
- imported from new package
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 19:29:54 +0000 (21:29 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 19:24:37 +0000 (21:24 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 18:59:37 +0000 (20:59 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 9 Jul 2017 10:53:03 +0000 (12:53 +0200)]
Please cherry-pick:
- renamed bean to userConfirmationLinkController
- always handle returned (mostly updated/managed) entities, then the updated
data is being handled
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 9 Jul 2017 08:35:26 +0000 (10:35 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 8 Jul 2017 19:23:56 +0000 (21:23 +0200)]
moved all now to proper packages
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 8 Jul 2017 17:24:17 +0000 (19:24 +0200)]
removed genfiles.properties
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 7 Jul 2017 22:49:34 +0000 (00:49 +0200)]
Please cherry-pick:
- "cached" beanHelper.contact locally so such "expensive" calls are reduced
- and the instance has not changed between two calls anyway
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 7 Jul 2017 22:17:17 +0000 (00:17 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 6 Jul 2017 08:19:36 +0000 (10:19 +0200)]
Please cherry-pick:
- It is generally beanHelper ...
Roland Häder [Thu, 6 Jul 2017 21:56:04 +0000 (23:56 +0200)]
'login' is to generic, there are maybe other logins around than just for users only
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Jul 2017 20:55:27 +0000 (22:55 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Jul 2017 19:53:01 +0000 (21:53 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Jul 2017 19:30:17 +0000 (21:30 +0200)]
Please cherry-pick:
- always call super() (one more found)
- sorted members
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Jul 2017 19:28:43 +0000 (21:28 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 5 Jul 2017 22:05:13 +0000 (00:05 +0200)]
Please cherry-pick:
- rendered-attribute allows expression code, so optionally required password
fields can be done on JSF side and not just on bean side.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 1 Jul 2017 10:12:15 +0000 (12:12 +0200)]
Please cherry-pick:
- don't have observer methods in interfaces around as interfaces on web beans
(aka. controllers) are for direct method calls, not for CDI events
- added missing @Observes annotation
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 21:54:20 +0000 (23:54 +0200)]
no shortcuts ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 21:50:29 +0000 (23:50 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 21:43:28 +0000 (23:43 +0200)]
Rewrite continued:
- Now all project-specific abstract web beans (controllers) inherit from BaseFacesBean to have these nice showFacesMessage() methods.
- Also all project-specific abstract EJBs inherit now only BaseDataBean (one was missing in an old project)
- So, if you have a WAR project, inherit from BaseFacesBean, if you have an EJB project, inherit from BaseDatabaseBean
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 21:19:43 +0000 (23:19 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 20:09:52 +0000 (22:09 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 19:47:45 +0000 (21:47 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 18:59:51 +0000 (20:59 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 25 Jun 2017 18:32:08 +0000 (20:32 +0200)]
Please cherry-pick:
- always rely on "cached" lists rather than calling EJB for each request
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 25 Jun 2017 18:21:06 +0000 (20:21 +0200)]
it is an user-specific EJB name
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 25 Jun 2017 17:47:59 +0000 (19:47 +0200)]
Please cherry-pick:
- fixed outcome, must be now with prefix "user"
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 25 Jun 2017 17:25:35 +0000 (19:25 +0200)]
Please cherry-pick:
- sadly, Glassfish and Payara are both not so super-flexible to allow JNDI
lookups in constructors. You have to either move that code to a @PostConstruct
annotated method in bean (=controller) classes or do it on-demand.
- @PostConstruct, @Observes and so on are not processed outside beans, next
"limitation" (or not wanted/intended/possible?).
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 25 Jun 2017 11:10:34 +0000 (13:10 +0200)]
Please cherry-pick:
- converted another div (class=table_row) to h:panelGroup
- well, I wanted here a "h:tableRow" or something, maybe one day I rewrite this
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 25 Jun 2017 11:09:34 +0000 (13:09 +0200)]
Don't cherry-pick:
- added title attribute to PrimeFaces tag for receipt issue date
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 22:54:07 +0000 (00:54 +0200)]
Please cherry-pick:
- no need for checking email address here, user-name is enough
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 22:43:27 +0000 (00:43 +0200)]
Please cherry-pick:
- set missing user locale which is being taken from the currently set locale in
localization controller
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 22:21:10 +0000 (00:21 +0200)]
fixed outcome, must be prefixed with user_ for now
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 22:01:22 +0000 (00:01 +0200)]
updated JNDI names
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 21:50:11 +0000 (23:50 +0200)]
updated JNDI names
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 21:49:33 +0000 (23:49 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 21:38:51 +0000 (23:38 +0200)]
Please cherry-pick:
- opps, must be prefixed with "is_feature_" and suffixed with "_enabled"
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 21:35:48 +0000 (23:35 +0200)]
should be userResendConfirmationController to make it more clear
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 21:25:43 +0000 (23:25 +0200)]
should be userEmailChangeController now
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 21:22:00 +0000 (23:22 +0200)]
should be userRegistrationController now
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 20:32:01 +0000 (22:32 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 20:16:07 +0000 (22:16 +0200)]
Continued a bit:
- moved to proper package as these are user-related controllers
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 18:19:06 +0000 (20:19 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 22 Jun 2017 20:52:09 +0000 (22:52 +0200)]
Please cherry-pick:
- New feature to allow users on registration entering no password. The
application will then generate a random password for the user and also sends
it in clear-text to the EJB (HTTPS is not meant here) so the bean can deliver
it to the user.
- user registration page will now show proper messages for above feature
- removed obsolete template (seems to be still around?)
- ifBothPasswordsEmptyAllowed() implemented
- added missing i18n strings
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 22 Jun 2017 20:51:58 +0000 (22:51 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 22 Jun 2017 19:59:48 +0000 (21:59 +0200)]
Don't cherry-pick:
- moved bean to proper package as it is user-specific registration
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 22 Jun 2017 19:34:32 +0000 (21:34 +0200)]
Please cherry-pick:
- right keys now ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 21 Jun 2017 18:21:56 +0000 (20:21 +0200)]
updated web.xml
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 21 Jun 2017 18:03:52 +0000 (20:03 +0200)]
Please cherry-pick:
- added missing context parameter "is_user_name_required"
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 11 Jun 2017 14:52:55 +0000 (16:52 +0200)]
Please cherry-pick:
- naming convention applied
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 11 Jun 2017 12:52:16 +0000 (14:52 +0200)]
Please cherry-pick:
- used more h:outputText instead of plainly adding text into the HTML component
- ids on ui:fragment are no good idea ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 11 Jun 2017 11:38:16 +0000 (13:38 +0200)]
Please cherry-pick:
- h:outputText was wrong where it should be h:panelGroup, now the guest menue is being shown again
- feature controller is no longer causing and then catching NPE (bad code style)
- sorted web.xml
- reformated some files
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 10 Jun 2017 20:47:50 +0000 (22:47 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 10 Jun 2017 19:41:57 +0000 (21:41 +0200)]
and one (?) more ...
Signed-off-by: Roland Häder <roland@mxchange.org>