]> git.mxchange.org Git - jjobs-war.git/log
jjobs-war.git
7 years agoPlease cherry-pick:
Roland Häder [Tue, 23 Aug 2016 10:16:21 +0000 (12:16 +0200)]
Please cherry-pick:
- edit/delete(Fax|LandLine|Mobile)Data() must have the phone number being handled over as a parameter
- the instance in beanHelper is null on POST (-back)
- setting onPostback="true" overrides the set value (from JSF page)
- so it needs to be as a parameter

7 years agoAdded API documentation URL
Roland Häder [Tue, 23 Aug 2016 07:21:11 +0000 (09:21 +0200)]
Added API documentation URL

7 years agoPlease cherry-pick:
Roland Häder [Mon, 22 Aug 2016 15:58:16 +0000 (17:58 +0200)]
Please cherry-pick:
- added birthday field

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Mon, 22 Aug 2016 13:48:04 +0000 (15:48 +0200)]
Please cherry-pick:
- placed more text into h:outputText tags

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Mon, 22 Aug 2016 13:18:40 +0000 (15:18 +0200)]
Please cherry-pick:
- removed onPostback from "edit pages" (as if this is set, the old data is being set back ... yes, remember the JSF life-cycle
- added error message when no data has been changed (generic)
- added missing navigation rule
- added noisy debug lines

7 years agoPlease cherry-pick:
Roland Häder [Mon, 22 Aug 2016 12:31:03 +0000 (14:31 +0200)]
Please cherry-pick:
- "hide" these templates when the contact is not found
- added missing navigation rule

7 years agoPlease cherry-pick:
Roland Häder [Mon, 22 Aug 2016 10:22:01 +0000 (12:22 +0200)]
Please cherry-pick:
- fixed i18n string name
- added missing navigation rule so linking contacts with fax, land-line and mobile numbers /should/ work
- added missing i18n strings
- ids for data input fields are all camelCased (same as backing bean property)

7 years agoignored + removed (will be re-generated) genfiles.properties as this caused update...
Roland Häder [Mon, 22 Aug 2016 07:49:24 +0000 (09:49 +0200)]
ignored + removed (will be re-generated) genfiles.properties as this caused update problems

Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Haeder [Tue, 23 Aug 2016 17:47:20 +0000 (19:47 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoadded missing jar references to jaddressbook-core/lib (don't cherry-pick)
Roland Haeder [Sun, 21 Aug 2016 20:14:37 +0000 (22:14 +0200)]
added missing jar references to jaddressbook-core/lib (don't cherry-pick)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoupdated jar(s)
Roland Haeder [Sun, 21 Aug 2016 20:10:55 +0000 (22:10 +0200)]
updated jar(s)

7 years agoupdated jar(s)
Roland Haeder [Sun, 21 Aug 2016 20:09:22 +0000 (22:09 +0200)]
updated jar(s)

7 years agoPlease cherry-pick:
Roland Häder [Fri, 19 Aug 2016 16:02:56 +0000 (18:02 +0200)]
Please cherry-pick:
- removed redirect parameter as they seem not to work

7 years agoPlease cherry-pick:
Roland Häder [Fri, 19 Aug 2016 15:05:25 +0000 (17:05 +0200)]
Please cherry-pick:
- commented out noisy debug lines (no more needed)
- commented out registration of phase listener (only for debugging)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoFixed: (please cherry-pick)
Roland Häder [Fri, 19 Aug 2016 14:56:14 +0000 (16:56 +0200)]
Fixed: (please cherry-pick)
- added missing annotations so the events can be fired

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years ago"Re-scoped" bean helper: (please cherry-pick)
Roland Häder [Fri, 19 Aug 2016 14:48:20 +0000 (16:48 +0200)]
"Re-scoped" bean helper: (please cherry-pick)
- the bean helper needs to be view-scoped (valid until the view has been changed)
- this way, the setted instances remain until the view is invalidated
- maybe no onPostback="true" is then no more needed? @TODO

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Fri, 19 Aug 2016 14:32:14 +0000 (16:32 +0200)]
Please cherry-pick:
- cleanups on templates

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Fri, 19 Aug 2016 13:19:03 +0000 (15:19 +0200)]
Please cherry-pick:
- added debugger class for making JSF life-cycles visible, thanks to BalusC for this free code
- registered above debugger
- rewrote all templates with f:metadata to, again, BalusC's recommendation to have "metadata" in a own ui:define block
- added NOISY debug lines (please comment out on productive systems!)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Fri, 19 Aug 2016 08:55:02 +0000 (10:55 +0200)]
Please cherry-pick:
- opps, renamed to much ...

7 years agoPlease cherry-pick:
Roland Häder [Thu, 18 Aug 2016 16:05:34 +0000 (18:05 +0200)]
Please cherry-pick:
- fixed phone -> landLine != mobile number

7 years agoPlease cherry-pick:
Roland Häder [Thu, 18 Aug 2016 15:56:01 +0000 (17:56 +0200)]
Please cherry-pick:
- cannot use this template here, too as more than one phone number is being entered

7 years agoPlease cherry-pick:
Roland Häder [Thu, 18 Aug 2016 15:13:41 +0000 (17:13 +0200)]
Please cherry-pick:
- opps, wrong code inserted ...

7 years agoContinued a bit: (please cherry-pick)
Roland Häder [Thu, 18 Aug 2016 14:56:02 +0000 (16:56 +0200)]
Continued a bit: (please cherry-pick)
- added needed try-catch block and return a nice facet message to the user (admin)
- changed no longer existing exceptions with more generic exception as this is fine here

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued with add/link forms: (please cherry-pick)
Roland Häder [Thu, 18 Aug 2016 13:43:04 +0000 (15:43 +0200)]
Continued with add/link forms: (please cherry-pick)
- implemented doLinkAdd(Fax|LandLine|Mobile)Number() which fire events when the number has been linked/added
- removed field mobileNumber as it is redundant to phoneNumber
- form_contact_data needs mobileNumber as all 3 are being asked there
- renamed countryPhoneCode -> phoneCountry as this is more accurate
- added missing i18n strings

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Thu, 18 Aug 2016 10:15:59 +0000 (12:15 +0200)]
Please cherry-pick:
- f:viewAction needs to be executed on POST request as well
- still the registered h:commandButton's method is not being invoked :-(
- again?!

7 years agoPlease cherry-pick:
Roland Häder [Thu, 18 Aug 2016 10:15:29 +0000 (12:15 +0200)]
Please cherry-pick:
- f:viewAction needs to be executed on POST request as well
- still the registered h:commandButton's method is not being invoked :-(
- again?!

7 years agoPlease cherry-pick:
Roland Häder [Thu, 18 Aug 2016 09:21:33 +0000 (11:21 +0200)]
Please cherry-pick:
- fixed link outcomes
- fixed ids and template usage (was copy-paste mistake)
- opps, missed to use beanHelper in JSF template

7 years agoPlease cherry-pick:
Roland Häder [Thu, 18 Aug 2016 09:11:57 +0000 (11:11 +0200)]
Please cherry-pick:
- message box looks nicer now

7 years agoPlease cherry-pick:
Roland Häder [Thu, 18 Aug 2016 08:27:40 +0000 (10:27 +0200)]
Please cherry-pick:
- opps, need to renamed these id numbers, else the validator cannot be assigned ... duh!

7 years agoPlease cherry-pick:
Roland Häder [Thu, 18 Aug 2016 08:18:09 +0000 (10:18 +0200)]
Please cherry-pick:
- opps, added missing thrown ValidationException, even when it is not thrown here, seems be needed in this method signature

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued with templates: (please cherry-pick)
Roland Häder [Thu, 18 Aug 2016 08:06:40 +0000 (10:06 +0200)]
Continued with templates: (please cherry-pick)
- reanmed + moved templates as there was no selection box in it, but input fields
- added missing clear divs (CSS class)
- added missing error boxes for dial area code and dial numbers

7 years agoPlease cherry-pick:
Roland Häder [Wed, 17 Aug 2016 16:01:33 +0000 (18:01 +0200)]
Please cherry-pick:
- it is no longer phone, but landLine ...

7 years agoContinued with i18n:
Roland Häder [Wed, 17 Aug 2016 15:55:15 +0000 (17:55 +0200)]
Continued with i18n:
- added missing i18n strings for fax/land-line

7 years agoContinued with i18n:
Roland Häder [Wed, 17 Aug 2016 15:52:18 +0000 (17:52 +0200)]
Continued with i18n:
- added _NUMBER to most phone-number related stuff
- added missing i18n strings for fax/land-line

7 years agoPlease cherry-pick:
Roland Häder [Wed, 17 Aug 2016 15:24:36 +0000 (17:24 +0200)]
Please cherry-pick:
- opps, missed to rename this

7 years agoPlease cherry-pick:
Roland Häder [Wed, 17 Aug 2016 15:10:05 +0000 (17:10 +0200)]
Please cherry-pick:
- also phoneAreaCode needs to be copied
- ... and it is Integer, not Long

7 years agoPlease cherry-pick:
Roland Häder [Wed, 17 Aug 2016 15:06:28 +0000 (17:06 +0200)]
Please cherry-pick:
- fixed wrong copyFooToController() method for fax/land-line
- and implemented those missing methods

7 years agoPlease cherry-pick:
Roland Häder [Wed, 17 Aug 2016 14:45:07 +0000 (16:45 +0200)]
Please cherry-pick:
- fixed wrong MobileConverter usage on fax/land-line converter
- renamed (Fax|LandLine|Mobile)Converter with "Number" in it

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued a bit: (please cherry-pick)
Roland Häder [Wed, 17 Aug 2016 14:14:57 +0000 (16:14 +0200)]
Continued a bit: (please cherry-pick)
- changed to medium table, only listings or show pages should be big (full) tables
- renamed table_big -> table_full

7 years agoContinued a bit: (please cherry-pick)
Roland Häder [Wed, 17 Aug 2016 13:50:59 +0000 (15:50 +0200)]
Continued a bit: (please cherry-pick)
- implemented unlinkFaxContactData(), unlinkLandLineContactData()
- added observer methods for fired events
- renamed cellphone -> mobile

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Wed, 17 Aug 2016 12:58:44 +0000 (14:58 +0200)]
Please cherry-pick:
- renamed to make these ids more clear

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Wed, 17 Aug 2016 12:54:01 +0000 (14:54 +0200)]
Please cherry-pick:
- renamed/added some i18n strings

7 years agoPlease cherry-pick:
Roland Häder [Wed, 17 Aug 2016 12:37:14 +0000 (14:37 +0200)]
Please cherry-pick:
- opps, didn't rename this

7 years agoPlease cherry-pick:
Roland Häder [Wed, 17 Aug 2016 12:35:15 +0000 (14:35 +0200)]
Please cherry-pick:
- these pages are not only fax/land-line/mobile related, they are both contact and fax/...

7 years agoPlease cherry-pick:
Roland Häder [Wed, 17 Aug 2016 12:16:46 +0000 (14:16 +0200)]
Please cherry-pick:
- added missing 18n strings
- renamed some i18n strings to make them more clear (generic and added _NUMBER)

7 years agoPlease cherry-pick:
Roland Häder [Wed, 17 Aug 2016 12:03:24 +0000 (14:03 +0200)]
Please cherry-pick:
- renamed some i18n strings to make them more clear (now generic)

7 years agoContinued with missing i18n strings: (please cherry-pick)
Roland Häder [Wed, 17 Aug 2016 11:03:39 +0000 (13:03 +0200)]
Continued with missing i18n strings: (please cherry-pick)
- added missing i18n strings for table summaries
- renamed some i18n strings to make them more clear

7 years agoFixed some comment-stuff: (please cherry-pick)
Roland Häder [Wed, 17 Aug 2016 10:53:20 +0000 (12:53 +0200)]
Fixed some comment-stuff: (please cherry-pick)
- comments in JSF templates/pages may cause columns being rendered in h:panelGrid, better put such things in XML definition (outside ui:composition)

7 years agoContinued with contact data:
Roland Häder [Wed, 17 Aug 2016 10:39:46 +0000 (12:39 +0200)]
Continued with contact data:
- introduced template admin_contact_data_columns.tpl which will show all contact data
- @TODO maybe later add phone numbers as "main" numbers?
- renamed templates to make them more clear
- added missing i18n string(s)

7 years agoContinued with fax, land-line, mobile: (please cherry-pick)
Roland Häder [Wed, 17 Aug 2016 10:09:28 +0000 (12:09 +0200)]
Continued with fax, land-line, mobile: (please cherry-pick)
- added getter/setter for choosen fax/land-line numbers
- added template includes for fax/land-line numbers (admin_show_contact)
- added created/updated timestamp for fax/land-line/mobile data
- added templates for fax/land-line "selection boxes" (input forms, needs renaming)
- introduced template admin_user_data.tpl (similar to admin_contact_data.tpl)
- fixed "add" EL code for fax/land-line numbers
- renamed some i18n strings as they can be combined into a generic "Administrative links" string
- added missing i18n strings
- added suffix _NUMBER to i18n strings as they are about ("phone") numbers ...

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Wed, 17 Aug 2016 09:42:34 +0000 (11:42 +0200)]
Please cherry-pick:
- sorted navigation rules, keep mobile together

7 years agoPlease cherry-pick:
Roland Häder [Wed, 17 Aug 2016 09:41:14 +0000 (11:41 +0200)]
Please cherry-pick:
- added missing navigation rules for admin_user_show to fax and land-line

7 years agoContinued a bit: (please cherry-pick)
Roland Häder [Wed, 17 Aug 2016 07:37:34 +0000 (09:37 +0200)]
Continued a bit: (please cherry-pick)
- added missing backing bean properties for fax/land-line edit templates (both share the same properties as they are same data but for different purposes)
- fixed copy-paste mobile -> fax/land-line stuff I forgot
- admin_form_(fax|landline)_data.tpl should be more complete now

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoopps, not all was renamed (please cherry-pick)
Roland Häder [Tue, 16 Aug 2016 16:08:30 +0000 (18:08 +0200)]
opps, not all was renamed (please cherry-pick)

7 years agoPlease cherry-pick/rename:
Roland Häder [Tue, 16 Aug 2016 15:50:22 +0000 (17:50 +0200)]
Please cherry-pick/rename:
- fixed JNDI names as they are all camel-cased now

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Tue, 16 Aug 2016 15:25:16 +0000 (17:25 +0200)]
Please cherry-pick:
- renamed as this is for users (and not any other entities with email-change functionality)
- added missing i18n string

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Tue, 16 Aug 2016 14:44:48 +0000 (16:44 +0200)]
Please cherry-pick:
- added missing i18n strings (more will come)
- sorted members

7 years agoopps, wrong naming (please cherry-pick)
Roland Häder [Tue, 16 Aug 2016 14:36:34 +0000 (16:36 +0200)]
opps, wrong naming (please cherry-pick)

7 years agoOpps, users don't have access on admin pages .. (please cherry-pick)
Roland Häder [Tue, 16 Aug 2016 14:15:48 +0000 (16:15 +0200)]
Opps, users don't have access on admin pages .. (please cherry-pick)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued with land-line and fax numbers: (please cherry-pick)
Roland Häder [Tue, 16 Aug 2016 14:08:48 +0000 (16:08 +0200)]
Continued with land-line and fax numbers: (please cherry-pick)
- added "all" (?) JSF pages for administrative land-line/fax number pages
- added admin menus for fax/land-line number listing
- added navigation rules
- added more class (controller=managed bean) fields for fax/land-line
- implemented method allFaxNumberContacts()
- implemented method allLandLineNumberContacts()
- implemented method allNonLinkedFaxNumbers()
- implemented method allNonLinkedLandLineNumbers()
- some methods had been renamed (cellphone -> mobile)
- added missing i18n strings
- renamed some i18n strings as they can be generic (for all 3 types)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoPlease cherry-pick:
Roland Häder [Tue, 16 Aug 2016 12:07:46 +0000 (14:07 +0200)]
Please cherry-pick:
- also renamed this as all mobile phones are supported, not just cellular

7 years agoPlease cherry-pick:
Roland Häder [Tue, 16 Aug 2016 11:02:40 +0000 (13:02 +0200)]
Please cherry-pick:
- better output a nice JSF message rather than showing an ugly backtrace to the user

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued a bit: (please cherry-pick)
Roland Häder [Tue, 16 Aug 2016 10:34:29 +0000 (12:34 +0200)]
Continued a bit: (please cherry-pick)
- added missing (template required it) propery "mobileNumber"
- added missing i18n string

7 years agoPlease cherry-pick:
Roland Häder [Tue, 16 Aug 2016 10:25:14 +0000 (12:25 +0200)]
Please cherry-pick:
- also needs renaming (yes, renaming-season is not yet over ...)

7 years agoneeds to be renamed as well ... (please cherry-pick)
Roland Häder [Tue, 16 Aug 2016 10:07:41 +0000 (12:07 +0200)]
needs to be renamed as well ... (please cherry-pick)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agorenamed after new way (cellphone -> mobile)
Roland Häder [Tue, 16 Aug 2016 09:58:31 +0000 (11:58 +0200)]
renamed after new way (cellphone -> mobile)

7 years agoRenamed more: (please cherry-pick)
Roland Häder [Tue, 16 Aug 2016 09:41:10 +0000 (11:41 +0200)]
Renamed more: (please cherry-pick)
- renamed mobileId -> mobileNumberId
- renamed faxId -> faxNumberId

7 years agorenamed converter, too (please cherry-pick)
Roland Häder [Tue, 16 Aug 2016 09:27:14 +0000 (11:27 +0200)]
renamed converter, too (please cherry-pick)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoRenaming season has started:
Roland Häder [Tue, 16 Aug 2016 08:04:14 +0000 (10:04 +0200)]
Renaming season has started:
- renamed cellphone to mobile (all occurences)
- let's don't discrimite other mobile phones, right?

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoOpps, forgot these annotations ... (please cherry-pick)
Roland Häder [Tue, 16 Aug 2016 07:40:21 +0000 (09:40 +0200)]
Opps, forgot these annotations ... (please cherry-pick)

7 years agoContinued a bit: (please cherry-pick)
Roland Häder [Mon, 15 Aug 2016 15:58:42 +0000 (17:58 +0200)]
Continued a bit: (please cherry-pick)
- implemented removeCellphoneNumberFromListEvent()
- renamed event method to make it more clear

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued with contact-cellphone: (please cherry-pick)
Roland Häder [Mon, 15 Aug 2016 15:50:17 +0000 (17:50 +0200)]
Continued with contact-cellphone: (please cherry-pick)
- renamed template to admin_form_add_contact_cellphone.tpl to make it more clear
- adminContactPhoneController is a request-scoped controller
- implemented allNonLinkedCellphoneNumbers() which fires an event to remove already used contacts
- this may become handy when more than one entity (now only contact) links to cellphone numbers
- added missing i18n strings

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoadded missing method afterAdminDeletedContactEvent() to remove deleted contact from...
Roland Häder [Mon, 15 Aug 2016 14:50:58 +0000 (16:50 +0200)]
added missing method afterAdminDeletedContactEvent() to remove deleted contact from all "cached" lists

7 years agoremoved double //NOI18N (please cherry-pick)
Roland Häder [Mon, 15 Aug 2016 14:32:40 +0000 (16:32 +0200)]
removed double //NOI18N (please cherry-pick)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoremoved div tag (opps)
Roland Häder [Mon, 15 Aug 2016 14:22:13 +0000 (16:22 +0200)]
removed div tag (opps)

7 years agoContinued with reparation: (please cherry-pick)
Roland Häder [Mon, 15 Aug 2016 14:14:33 +0000 (16:14 +0200)]
Continued with reparation: (please cherry-pick)
- placed all "error_container" div inside "table_row" div
- added missing error_container class for a div
- this prepares the project for rewrite towards more JSF 2.0 and lesser vanilla-HTML tags

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued with switching vanilla HTML -> JSF2.0 tags: (please cherry-pick)
Roland Häder [Mon, 15 Aug 2016 13:49:44 +0000 (15:49 +0200)]
Continued with switching vanilla HTML -> JSF2.0 tags: (please cherry-pick)
- Switched some div tags (for "tables") to h:panelGroup
- Maybe more can be changed without having ugly nested h:panelGroup tags ?

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoyes, better also here 4px (please cherry-pick)
Roland Häder [Mon, 15 Aug 2016 13:11:27 +0000 (15:11 +0200)]
yes, better also here 4px (please cherry-pick)

7 years agoContinued with XHTML changes: (please cherry-pick)
Roland Häder [Mon, 15 Aug 2016 13:07:47 +0000 (15:07 +0200)]
Continued with XHTML changes: (please cherry-pick)
- added div (at least id) for upcoming JavaScript (onselect) expansion
- if the admin chooses already but not linked contact data, disable contact form data
- if none is selected show form
- this required that an ui:inlude needs to be moved

7 years agoContinued with contact-cellphone unlink: (please cherry-pick)
Roland Häder [Mon, 15 Aug 2016 12:56:56 +0000 (14:56 +0200)]
Continued with contact-cellphone unlink: (please cherry-pick)
- implemented afterAdminUnlinkedCellphoneContactDataEvent() which observes events being fired after cellphone has been unlinked from contact
- also checked if contact and cellphone are really linked
- renamed message key to ERROR_BEAN_HELPER_CELLPHONE_NUMBER_NOT_SET as this reflects what is there
- added missing i18n message

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoit must be 15px (please cherry-pick)
Roland Häder [Mon, 15 Aug 2016 12:23:36 +0000 (14:23 +0200)]
it must be 15px (please cherry-pick)

7 years agoPlease cherry-pick:
Roland Häder [Mon, 15 Aug 2016 10:45:01 +0000 (12:45 +0200)]
Please cherry-pick:
- splitted contact remote interface into general and administrative purposes

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agofinally fixed this madness, thanks to @BalusC again:
Roland Häder [Mon, 15 Aug 2016 09:27:15 +0000 (11:27 +0200)]
finally fixed this madness, thanks to @BalusC again:
- I wanted to have a general ("base") controller that hold methods for every controller (bean).
- like many controllers do, I want that bean to return localized message from my resource bundle and not unlocalized English-only messages
- this is now done by getting the container's locale and then loading the bundle with it's base name (not variable name)
- thank you, BalusC for enlighten us. :-)

7 years agoPlease cvherry-pick:
Roland Häder [Fri, 12 Aug 2016 15:28:16 +0000 (17:28 +0200)]
Please cvherry-pick:
- rewrote showFacesMessage() as this was the wrong way, maybe now it is better?

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued a bit: (please cherry-pick)
Roland Häder [Fri, 12 Aug 2016 10:43:12 +0000 (12:43 +0200)]
Continued a bit: (please cherry-pick)
- please let the application and not the validator decide what to do with already registered or unregistered email addresses.
- the validator should only validate (against regex) and not make sure (means control) that the valid email address is okay to use for the requested action.
- else there is a double-check and the validator will come first with non-localized messages

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued a bit: (please cherry-pick)
Roland Häder [Fri, 12 Aug 2016 10:26:42 +0000 (12:26 +0200)]
Continued a bit: (please cherry-pick)
- added CSS class checkbox for, well, what else? ;-)
- combined border-style, border-size and border-color in one "border"

7 years agoContinued a bit: (please cherry-pick)
Roland Häder [Fri, 12 Aug 2016 09:40:47 +0000 (11:40 +0200)]
Continued a bit: (please cherry-pick)
- added padding left+right to have some space for rounded corners
- added style class for text areas

7 years agoContinued with localization: (please cherry-pick)
Roland Häder [Fri, 12 Aug 2016 09:31:00 +0000 (11:31 +0200)]
Continued with localization: (please cherry-pick)
- throwing FaceletException causes ugly non-localized messages, better show a nice facet message that has been translated
- it may not happen under condition, but better throw the exception then as something strange is messy
- added missing i18n strings

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued with i18n: (please cherry-pick)
Roland Häder [Fri, 12 Aug 2016 08:43:16 +0000 (10:43 +0200)]
Continued with i18n: (please cherry-pick)
- now these messages from managed beans can be localized

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoSome CSS fixes:
Roland Häder [Thu, 11 Aug 2016 16:03:37 +0000 (18:03 +0200)]
Some CSS fixes:
- menu_header is bold
- links are no longer bold

7 years agoSome nice stuff: (please cherry-pick)
Roland Häder [Thu, 11 Aug 2016 15:57:04 +0000 (17:57 +0200)]
Some nice stuff: (please cherry-pick)
- fixed user account status CSS class
- added hover CSS definition for "errors" CSS class

7 years agoImproved many things: (please cherry-pick)
Roland Häder [Thu, 11 Aug 2016 15:41:54 +0000 (17:41 +0200)]
Improved many things: (please cherry-pick)
- added missing navigation rule from admin_user_(un)lock to admin_show_mobile_provider
- removed reset-form button from logout forms
- much nicer CSS style applied for form elements and content_header
- CSS hover effects added for above buttons, select boxes and text areas
- used table_medium, table_left(25)_medium, table_right(75)_medium for registration page
- added missing context parameter is_debug_register_enabled

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued a bit: (please cherry-pick)
Roland Häder [Thu, 11 Aug 2016 13:49:30 +0000 (15:49 +0200)]
Continued a bit: (please cherry-pick)
- unlock title should ask a question
- right message key for last lock reason

7 years agoContinued with design: (please cherry-pick)
Roland Häder [Thu, 11 Aug 2016 13:41:04 +0000 (15:41 +0200)]
Continued with design: (please cherry-pick)
- added CSS classes table_data_label and table_data_value
- added navigation rule from admin_(un)lock_user to admin_show_user
- also show admin user profile in above pages

7 years agofixed German i18n strings due to splitting (please cherry-pick)
Roland Häder [Thu, 11 Aug 2016 12:33:40 +0000 (14:33 +0200)]
fixed German i18n strings due to splitting (please cherry-pick)

7 years agoit needs to be h:outputFormat
Roland Häder [Thu, 11 Aug 2016 12:31:33 +0000 (14:31 +0200)]
it needs to be h:outputFormat

7 years agoadded more checks on user's contact instance (please cherry-pick)
Roland Häder [Thu, 11 Aug 2016 12:09:36 +0000 (14:09 +0200)]
added more checks on user's contact instance (please cherry-pick)

7 years agoRewitten a bit: (please cherry-pick)
Roland Häder [Thu, 11 Aug 2016 12:04:52 +0000 (14:04 +0200)]
Rewitten a bit: (please cherry-pick)
- updateList and uniqlyAddUser did both the same, now only updateList() is left

Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued with lock/unlock user: (cherry-pick)
Roland Häder [Thu, 11 Aug 2016 11:56:46 +0000 (13:56 +0200)]
Continued with lock/unlock user: (cherry-pick)
- added event observer for locking/unlocking users

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued with lock/unlock user: (cherry-pick)
Roland Häder [Thu, 11 Aug 2016 10:48:48 +0000 (12:48 +0200)]
Continued with lock/unlock user: (cherry-pick)
- fired event after user account is locked/unlocked
- the fired event can later be observed for updating user lists