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
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 ...)
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>
Roland Häder [Tue, 16 Aug 2016 09:58:31 +0000 (11:58 +0200)]
renamed after new way (cellphone -> mobile)
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
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>
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>
Roland Häder [Tue, 16 Aug 2016 07:40:21 +0000 (09:40 +0200)]
Opps, forgot these annotations ... (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>
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>
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
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>
Roland Häder [Mon, 15 Aug 2016 14:22:13 +0000 (16:22 +0200)]
removed div tag (opps)
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>
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>
Roland Häder [Mon, 15 Aug 2016 13:11:27 +0000 (15:11 +0200)]
yes, better also here 4px (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
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>
Roland Häder [Mon, 15 Aug 2016 12:23:36 +0000 (14:23 +0200)]
it must be 15px (please 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>
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. :-)
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>
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>
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"
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
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>
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>
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
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
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>
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
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
Roland Häder [Thu, 11 Aug 2016 12:33:40 +0000 (14:33 +0200)]
fixed German i18n strings due to splitting (please cherry-pick)
Roland Häder [Thu, 11 Aug 2016 12:31:33 +0000 (14:31 +0200)]
it needs to be h:outputFormat
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)
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>
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>
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
Roland Häder [Thu, 11 Aug 2016 10:05:16 +0000 (12:05 +0200)]
Opps, must be outputFormat then (please cherry-pick)
Roland Häder [Thu, 11 Aug 2016 09:44:12 +0000 (11:44 +0200)]
Continued with error messages: (please cherry-pick)
- added ADMIN_ prefix
- added message for locking a locked user and unlocking a already unlocked (confirmed) account
- added parameters
Roland Häder [Thu, 11 Aug 2016 09:33:51 +0000 (11:33 +0200)]
Fixed: (please cherry-pick)
- rendered should not be used on command buttons or any form tags (such as input tags) as it makes it impossible that the data is being transfered to the backing bean.
Roland Häder [Thu, 11 Aug 2016 09:26:11 +0000 (11:26 +0200)]
fixed name (please rename, too)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 11 Aug 2016 08:57:00 +0000 (10:57 +0200)]
converted file-reference to library reference
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 11 Aug 2016 08:19:10 +0000 (10:19 +0200)]
Updated PrimeFaces to 6.0 + added missing License (as it is Apache 2.0)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 10 Aug 2016 15:56:14 +0000 (17:56 +0200)]
Please cherry-pick:
- fixed dependency loop jcontacts-core <-> jphone-core
- here only import lines
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 10 Aug 2016 15:40:26 +0000 (17:40 +0200)]
Continued with cell phone unlink: (please cherry-pick)
- added error container for cell phone data template
- fixed call of unlinkCellphoneDataFromContact() as a checked exception is thrown and 2nd parameter added
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 10 Aug 2016 14:51:46 +0000 (16:51 +0200)]
Continued with cell phone unlink: (please cherry-pick)
- added new controller for contact-cellphone administrative things
- added new controller method unlinkCellphoneContactData() which unlinks cell phone instance from a contact
- added navigation rule admin_contact_cellphone_unlink.xhtml -> admin_show_contact
- added template admin_contact_data_mini.tpl
- removed phoneBean from controller as it is not being used there
- removed duplicated interface "constant"
- added missing i18n strings
- added CSS class unlink_button
- fixed "bean (controller)" to "controller (bean)"
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 10 Aug 2016 12:58:13 +0000 (14:58 +0200)]
Continued with cell phone: (please cherry-pick)
- add template parameter showAdminLinks which hides all administrative links in admin_cellphone_data.tpl template
- added missing i18n string
- removed CSS property from data_label as it caused deformation (better fix it with an additional div/span tag)
Roland Häder [Wed, 10 Aug 2016 12:14:33 +0000 (14:14 +0200)]
opps, broken JSF tag ... (please cherry-pick)
Roland Häder [Wed, 10 Aug 2016 12:04:39 +0000 (14:04 +0200)]
opps, wrong EJB used, these business methods are all phone-generic and not contact-related
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 10 Aug 2016 10:32:41 +0000 (12:32 +0200)]
Continued a bit: (please cherry-pick)
- implemented controller (bean) method deleteCellphoneData() with event being fired after the cell phone has been deleted. This can be used for later event logging or what ever.
- implemented form for deleting cell phone data
- fixed id for commandButton (is edit_cellphone)
- added missing i18n strings
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 10 Aug 2016 07:58:58 +0000 (09:58 +0200)]
Ignored faces-config.NavData because this file will differ from user to user
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 9 Aug 2016 20:19:49 +0000 (22:19 +0200)]
Use own method getStringContextParameter() for a bit encapsulation and DRY:
DRY = Don't Repeat Yourself (avoid duplicate code which means duplicated
maintenance of code)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 9 Aug 2016 20:17:39 +0000 (22:17 +0200)]
sorted members (please cherry-pick/sort)
Roland Häder [Tue, 9 Aug 2016 16:01:06 +0000 (18:01 +0200)]
fixed names in faces-config (please cherry-pick)
Roland Häder [Tue, 9 Aug 2016 15:50:58 +0000 (17:50 +0200)]
fixed imports (please cherry-pick)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 9 Aug 2016 15:39:09 +0000 (17:39 +0200)]
fixed name of show JSF page (please cherry-pick)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 18 Aug 2016 17:42:51 +0000 (19:42 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 17 Aug 2016 20:20:01 +0000 (22:20 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 9 Aug 2016 15:36:29 +0000 (17:36 +0200)]
Continued with some rewrites: (please cherry-pick)
- moved cellPhoneNumber to beanHelper as this is the right place
- introduced copyCellphoneNumberToController() and called it in edit template for having all editable data being set in backing bean
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 9 Aug 2016 15:06:06 +0000 (17:06 +0200)]
Continued with cellphone number edit: (please cherry-pick)
- no, the data cannot be set in the object, it needs to be set in controller (backing bean, don't forget this)
- made both fields required
- if nothing has changed, nothing needs to be updated (check both, mobile provider and number)
- added missing i18n strings
- renamed form id form_edit_phone -> form_edit_cellphone
Roland Häder [Tue, 9 Aug 2016 14:42:25 +0000 (16:42 +0200)]
Fixed old combined un/lock user stuff as this is now separated (please cherry-pick)
Roland Häder [Tue, 9 Aug 2016 14:36:01 +0000 (16:36 +0200)]
fixed id number (please cherry-pick)
Roland Häder [Tue, 9 Aug 2016 14:32:18 +0000 (16:32 +0200)]
Some fixes: (please cherry-pick)
- added missing i18n strings
- changed i18n string
Roland Häder [Tue, 9 Aug 2016 14:28:01 +0000 (16:28 +0200)]
added missing i18n string (please cherry-pick)
Roland Häder [Tue, 9 Aug 2016 14:25:44 +0000 (16:25 +0200)]
Continued a bit: (please cherry-pick)
- added missing navigation rule for locking users
- added missing i18n string
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 9 Aug 2016 14:19:47 +0000 (16:19 +0200)]
Opps, forgot this. (please cherry-pick)
Roland Häder [Tue, 9 Aug 2016 14:04:04 +0000 (16:04 +0200)]
Continued with cellphone data: (please cherry-pick)
- added form template for editing cellphone data (yes, generic)
- renamed cellPhone -> cellPhoneNumber
- CSS class table_medium needs to be a bit bigger
- implemented method editCellphoneData()
- including fireing new event
- fixed i18n strings
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 9 Aug 2016 11:00:03 +0000 (13:00 +0200)]
added missing navigation rule from admin_cellphone_list to admin_mobile_provider_show
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 9 Aug 2016 10:51:04 +0000 (12:51 +0200)]
Continued with cell phone: (please cherry-pick)
- completed listing of all cellphone number data
- renamed method to allCellphoneNumbers() to have it nicer named
- renamed admin_contact_cellphone_list.xhtml to admin_cellphone_list.xhtml as this is generic
- removed _contact from cellphone navigation rules
- introduced new general phone controller (not administrative) with application-scope to have all cellphone, land-line and fax numbers being cached
- moved proper attributes (fields) and methods to that new controller
- added missing navigation case for admin_cellphone_list.xhtml
- added missing i18n strings
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 9 Aug 2016 08:34:22 +0000 (10:34 +0200)]
Continued with phone numbers: (please cherry-pick)
- introduced updateContactPhoneNumbers() which updates all cellphone, land-line fax number entries in this controller's list
- added missing lists for land-line and fax numbers
- added uniqueAddFooNumber() for uniqly adding cellphone, land-line and fax numbers
Roland Haeder [Wed, 17 Aug 2016 19:11:46 +0000 (21:11 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 17 Aug 2016 18:15:59 +0000 (20:15 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 9 Aug 2016 20:07:47 +0000 (22:07 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 8 Aug 2016 16:10:15 +0000 (18:10 +0200)]
Continued a bit: (please cherry-pick)
- also here use isEmpty()
Roland Häder [Mon, 8 Aug 2016 15:43:11 +0000 (17:43 +0200)]
Continued with splitting/cleanup: (please cherry-pick)
- removed all boolean hasFoos() methods as isEmpty() works the same way
- got rid of many Collections.unmodifiableList() calls as they may confuse the developer, please watch out!
- splitted contact's special phone stuff out to own controller (bean)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 8 Aug 2016 14:51:58 +0000 (16:51 +0200)]
Continued with rewrite: (please cherry-pick)
- renamed some admin_contact_cellphone_???.xhtml to admin_cellphone_???.xhtml as they are generic enough (not depending on contact)
- moved phone-contact stuff to adminContactController
- renamed i18n strings properly
- no need to have contact in adminPhoneController, better is the obvious one: beanHelper
- started with listing all cell phone numbers (similar JSF will follow for land-line and fax numbers)
- the contact stuff in adminPhoneHelper was deprecated anyway
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 8 Aug 2016 13:22:38 +0000 (15:22 +0200)]
Please rename:
- this is no longer a contact's land-line/cellphone number controller, it only handles the number data itself
- unlink/link with contact or employees or anything must be done in that specific controller
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 8 Aug 2016 12:10:07 +0000 (14:10 +0200)]
Continued a bit: (please cherry-pick)
- added title
Roland Haeder [Mon, 8 Aug 2016 17:24:13 +0000 (19:24 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sun, 7 Aug 2016 12:10:28 +0000 (14:10 +0200)]
Fixed imports (don't cherry-pick this)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 28 Jul 2016 20:06:29 +0000 (22:06 +0200)]
re-added doUserLogout() + removed doLogout() as it was to generic
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 10 Jun 2016 12:55:14 +0000 (14:55 +0200)]
Rewrites: (please cherry-pick also)
- rewrote templateType to baseTemplatePathName which allows more "complex" paths than just simple
- imprint, terms and privacy can now make usage of that new variable and don't need to be shown in new browser window
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 10 Jun 2016 13:01:57 +0000 (15:01 +0200)]
added missing language i18n strings + show logout form only to logged-in users ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 6 Jun 2016 14:02:42 +0000 (16:02 +0200)]
Continued with rewrites:
- moved selectableContacts to contact controller, makes more sense
- fixed template for above
- introduced isGenderRequired() to make difference between general and administrative contact controller
- added new context parameter for above method
- fired event when a new user account has been linked with existing contact data
- the other event (added user) is being fired now on else path
- No more need for afterAdminAddedContact() in general user controller
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sun, 7 Aug 2016 11:45:35 +0000 (13:45 +0200)]
Where are these commits? Well, removed it ... again.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 13 May 2016 12:57:58 +0000 (14:57 +0200)]
added parameter 'createContactData'
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 11 Jul 2016 16:03:32 +0000 (18:03 +0200)]
Closed internal TODO: (please cherry-pick this)
- house numbers may have extensions like 'a', so the full number can be
e.g. '123a' which should be better splitted into number and extension
- expanded templates for above stuff
- expanded controllers for this
- added missing i18n strings
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sun, 7 Aug 2016 10:57:24 +0000 (12:57 +0200)]
No longer have templateType around + Gender.UNKNOWN is long time gone.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 10 Jun 2016 10:03:45 +0000 (12:03 +0200)]
New "feature" controller introduced: (please cherry-pick this)
- no more tons of separate and same-looking methods, just one central and very flexible method isFeatureEnabled()
- renamed all context parameters
- added features "imprint", "terms" and "privacy"
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 28 Jul 2016 19:08:26 +0000 (21:08 +0200)]
Imported new way into + ignored .gitcommits (please cherry-pick this)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 6 Aug 2016 20:27:49 +0000 (22:27 +0200)]
updated copyright + author
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 21 Jul 2016 16:04:04 +0000 (18:04 +0200)]
introduced method showFacesMessage() with 2nd parameter being a message string (please cherry-pick this)
Roland Haeder [Sat, 6 Aug 2016 20:11:31 +0000 (22:11 +0200)]
sorted members (maybe cherry-pick this?)
Roland Häder [Sat, 6 Aug 2016 10:26:59 +0000 (12:26 +0200)]
Continued with rewrites: (please cherry-pick)
- the contact phone controller becomes a generic phone controller (see jcontacts-business-core)
- marked contact-related stuff in it as deprecated
- renamed it's JSF name to adminPhoneController
- all phone instances are being set by beanHelper's copyUserToController() method
- private method setPhoneInstances() introduced
- rewrote all parameters that cannot be auto-completed by IDE to beanHelper and phone controller
- added missing i18n string(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 6 Aug 2016 08:45:35 +0000 (10:45 +0200)]
Fixed house number extension: (please cherry-pick)
- the contact's house number extension was not exposed in template
- and also not cleared in clear() method
Roland Häder [Sat, 6 Aug 2016 08:15:05 +0000 (10:15 +0200)]
Please cherry-pick:
- Well, ui:fragment is according to my trainer not right. What I want here is a navigation to edit/delete/lock/unlock pages depending on the user's account status.
- If the account status is UNCONFIRMED, currently only show edit and delete
- If it is CONFIRMED, add a link to "lock" page.
- If it is LOCKED, add a link to "unlock" page.
- Currently I do this with ui:fragment because it seems to be the only JSF tag that is NOT rendering it's body when the rendered attribute resolves to false.
- If you can find a drop-in replacement, please notify me at roland[AT]mxchange[DOT]org
- And please keep in mind that c:if or anything like that is JSP which is being executed on an other life-cycle step than JSFs.
Roland Häder [Sat, 6 Aug 2016 07:55:12 +0000 (09:55 +0200)]
Continued a bit: (please cherry-pick)
- don't wrap command buttons in rendered="" conditions and not with ui:fragment (please name me a full replacement for all the other cases where I'm using it)
- this makes it impossible for the button's action (controller method) being executed as this depends on the life-cycle of the JSF
- it may work in viewing the JSF page but not when you submit it.
- rewrote parameter 'user' to beanHelper.user as this was already being used
- show proper lock/unlock link depending on user's account status
- added navigation rule for new user lock JSF page
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 5 Aug 2016 16:02:11 +0000 (18:02 +0200)]
Continued: (please cherry-pick)
- splitted lock/unlock user form
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 5 Aug 2016 15:56:09 +0000 (17:56 +0200)]
Continued a bit: (cherry-pick)
- added styleClass="errors"
- added missing i18n strings