Roland Haeder [Thu, 12 May 2016 19:22:22 +0000 (21:22 +0200)]
updated jar(s)
Roland Häder [Wed, 27 Apr 2016 14:25:53 +0000 (16:25 +0200)]
Some JSF fiyxes:
- id "cellphoneLinks" removed as it happens in a loop
- sometimes user is null, then user.userContact cannot be accessed and any attempts cause a NPE
- new error message ERROR_PARAMETER_CELLPHONE_NUMBER_USER_NOT_SET added (and used)
- added div tags for better showing error messages
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 11 May 2016 15:38:41 +0000 (17:38 +0200)]
opps, also agents ... :-(
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 11 May 2016 15:36:21 +0000 (17:36 +0200)]
removed recruiter stuff + re-added missing strings
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 11 May 2016 15:19:43 +0000 (17:19 +0200)]
fixed name of controller (cherry-pick this)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 11 May 2016 14:43:46 +0000 (16:43 +0200)]
also this must be medium-sized
Roland Häder [Wed, 11 May 2016 14:07:42 +0000 (16:07 +0200)]
Fixed country controller:
- renamed controller name to not have confusion to
- moved hasCountries/allCountries to session-scoped bean to have full caching
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 10 May 2016 18:57:46 +0000 (20:57 +0200)]
removed no longer used method + added contact EJB
Roland Haeder [Tue, 10 May 2016 18:55:35 +0000 (20:55 +0200)]
fixed EJB name
Roland Häder [Tue, 10 May 2016 13:29:43 +0000 (15:29 +0200)]
password1 and password2 is not clear enough, better <role>Password and <role>PasswordRepeat respectively (cherry-pick this)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 10 May 2016 13:13:08 +0000 (15:13 +0200)]
don't forget to clear helper contact instance. When a user/recruiter has been added with a selected contact instance, it got not removed from selectableContacts list.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 10 May 2016 12:16:41 +0000 (14:16 +0200)]
Continued a bit:
- don't return full list as the JSF seems to modify it ???
- always use this.someList and not allFoos()
- moved allMobileProviders() and hasMobileProviders() to regular controller as this one holds the cached list anyway
- renamed mobileController -> mobileProviderController
- call bean again instead of getting same (!) list: this fixes a bug that a lot contacts has been removed from the list
- careful cherry-picking this: recruiter-related changes are included and contact EJB added!
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 10 May 2016 12:02:16 +0000 (14:02 +0200)]
Continued a bit:
- moved all contact data to one place (was a bit scattered)
- no need to update cellphone data here (contact controller does it)
- added check on parameter 'user'
- added noisy debug line (contact)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 10 May 2016 11:53:28 +0000 (13:53 +0200)]
added missing i18n strings
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 10 May 2016 10:44:35 +0000 (12:44 +0200)]
Continued a bit:
- merged some generic stuff from jrecruiter-war project
- sorted members
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 9 May 2016 14:53:37 +0000 (16:53 +0200)]
fixed ids (is contact)
Roland Häder [Mon, 9 May 2016 14:18:33 +0000 (16:18 +0200)]
Added missing i18n strings + delete form is now better (maybe show a bit contact data, too?
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 9 May 2016 08:03:16 +0000 (10:03 +0200)]
ignored lock files
Roland Haeder [Mon, 9 May 2016 17:06:30 +0000 (19:06 +0200)]
updated jar(s)
Roland Haeder [Sat, 7 May 2016 14:33:58 +0000 (16:33 +0200)]
these are noisy debug lines ...
Roland Haeder [Sat, 7 May 2016 14:30:40 +0000 (16:30 +0200)]
addCategory/addProduct are no longer needed for public usage, the events do it now.
Roland Häder [Fri, 6 May 2016 11:40:45 +0000 (13:40 +0200)]
Home should go to guest area and not logout the user/recruiter
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 6 May 2016 11:08:37 +0000 (13:08 +0200)]
Moved a lot templates areound:
- moved user-related templates out of generic folder
- moved "login user" to login/user
- moved "login recruiter" to login/recruiter
- added missing templarte when recruiter is not logged-in
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 6 May 2016 11:06:52 +0000 (13:06 +0200)]
Introduced createUserLogin() (safe to cherry-pick)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 6 May 2016 10:27:44 +0000 (12:27 +0200)]
No, putting these methods into admin (request-scoped) controller is not good as no caching takes place. Better put them into session-scoped controllers to have caching possible. Please cherry-pick and keep recruiter-stuff out of other projects.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 6 May 2016 08:29:53 +0000 (10:29 +0200)]
Continued a bit:
- added recruiter login (very lame design, I know)
- added navigation rule
- added i18n strings
- moved back from admin -> regular controller, urgs, it is cached there for a longer time and not just on request
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 6 May 2016 08:29:36 +0000 (10:29 +0200)]
Moved to own (user) sub-folder to have recruiter's own templates
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 6 May 2016 08:08:27 +0000 (10:08 +0200)]
Continued a bit:
- in admin area it should be medium-sized to have more room
- email address is already in contact data template
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 5 May 2016 16:38:37 +0000 (18:38 +0200)]
renamed language strings
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 4 May 2016 10:58:03 +0000 (12:58 +0200)]
class was wrong, needs to be styleClass
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 27 Apr 2016 10:30:07 +0000 (12:30 +0200)]
added redirection outcomes to all "addFoo" methods
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 7 May 2016 12:48:55 +0000 (14:48 +0200)]
fixed imports to new location
Roland Haeder [Sat, 7 May 2016 12:48:46 +0000 (14:48 +0200)]
updated jar(s)
Roland Haeder [Sat, 7 May 2016 10:36:43 +0000 (12:36 +0200)]
removed id where it is not needed
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 5 May 2016 16:38:29 +0000 (18:38 +0200)]
renamed language strings
Roland Haeder [Thu, 5 May 2016 16:38:20 +0000 (18:38 +0200)]
updated jar(s)
Roland Haeder [Thu, 5 May 2016 14:04:57 +0000 (16:04 +0200)]
re-organized pages:
- moved /user/ -> /guest/user/ as these are pages for current guest but later users
- moved /login/ -> /user/ as these are pages for current (logged-in) users
Roland Haeder [Thu, 5 May 2016 12:25:56 +0000 (14:25 +0200)]
updated jar(s)
Roland Haeder [Wed, 4 May 2016 18:56:57 +0000 (20:56 +0200)]
Opps, was wrong here (left-over from merge)
Roland Häder [Wed, 4 May 2016 06:56:31 +0000 (08:56 +0200)]
Mail pattern for cellphone provider are optional, maybe not all pürovide such services
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 3 May 2016 15:25:29 +0000 (17:25 +0200)]
Rewrites:
- moved a lot unrelated user-only methods to proper admin controller
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 3 May 2016 14:14:08 +0000 (16:14 +0200)]
fixed German umlauts
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 3 May 2016 14:10:24 +0000 (16:10 +0200)]
renamed i18n string, generic now
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 3 May 2016 21:00:31 +0000 (23:00 +0200)]
Not used here ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 3 May 2016 11:53:52 +0000 (13:53 +0200)]
removed link as this is done in list page + readded base template
Roland Häder [Tue, 3 May 2016 11:45:08 +0000 (13:45 +0200)]
renamed controller as there are now 2 logins + converted CRLF->LF
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 3 May 2016 11:33:38 +0000 (13:33 +0200)]
Contined a bit:
- sorted imports
- first @Observes then final
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 3 May 2016 11:33:20 +0000 (13:33 +0200)]
Continued with recruiter:
- added initial recruiter pages (requires separate login)
- added initial controller (interfaces and beans)
- added initial recruiter-stuff into helper
- removed double index.xhtml
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 3 May 2016 08:29:18 +0000 (10:29 +0200)]
Cleanups:
- hasUsers/allUsers was redundant
- moved isContactFound to admin user controller to avoid redundant lists, too
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 3 May 2016 07:37:14 +0000 (09:37 +0200)]
from merge (jjobs)
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 3 May 2016 19:07:10 +0000 (21:07 +0200)]
updated jar(s)
Roland Häder [Mon, 2 May 2016 10:32:58 +0000 (12:32 +0200)]
fixed language string
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 7 Oct 2015 10:42:06 +0000 (12:42 +0200)]
added initial login templates and navigation rules
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 2 May 2016 10:39:57 +0000 (12:39 +0200)]
Continued a bit:
- added missing helper call
- renamed method
- added missing navigation rules
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 2 May 2016 10:04:11 +0000 (12:04 +0200)]
renamed converter to make them more clear (in JSF page)
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 2 May 2016 07:15:46 +0000 (09:15 +0200)]
These validators are registered by using an annotation
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 30 Apr 2016 09:48:48 +0000 (11:48 +0200)]
fixed imports
Roland Haeder [Fri, 29 Apr 2016 20:16:04 +0000 (22:16 +0200)]
The customer is now differently created, first you need to get the contact-relevant data from the contact controller, then you need to generate a customer number and attach the contact instance to it.
Method addCustomer(customer) was no need for calling external as the event does the same job.
Remove event from general customer controller.
Roland Haeder [Fri, 29 Apr 2016 20:00:28 +0000 (22:00 +0200)]
globally updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 29 Apr 2016 18:55:59 +0000 (20:55 +0200)]
removed jcore.jar as it is not intended for JavaEE applications.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 29 Apr 2016 15:37:34 +0000 (17:37 +0200)]
moved template to proper place
Roland Häder [Fri, 29 Apr 2016 15:15:23 +0000 (17:15 +0200)]
Fixed i18n related stuff
Roland Häder [Fri, 29 Apr 2016 13:43:26 +0000 (15:43 +0200)]
Continued a bit:
- renamed method changeUserData() to editUserData() (members sorted)
- surpressed some warnings that are not being fixed
- clear() needs to be called
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 29 Apr 2016 13:16:16 +0000 (15:16 +0200)]
Continued with customer:
- editing customer data is "basicly finished"
- removed i18n key as this was not following convention (and redundant)
- a user entry was not found (for users more clear)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 29 Apr 2016 09:53:13 +0000 (11:53 +0200)]
Opps, missed to change this, too
Roland Häder [Fri, 29 Apr 2016 09:46:33 +0000 (11:46 +0200)]
Continued with contacts:
- showing contact data is "basicly finished"
- introduced template admin_contact_data.tpl"
- added missing navigation cases
- contact personal data is not user - fixed
- include always gender
- added new page for deleting contact data
- added CSS class for delete buttons
- added template for administrative contact links
- added missing i18n strings
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 29 Apr 2016 08:47:58 +0000 (10:47 +0200)]
Fixed i18n keys
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 28 Apr 2016 17:47:51 +0000 (19:47 +0200)]
updated jar(s)
Roland Haeder [Thu, 28 Apr 2016 17:45:12 +0000 (19:45 +0200)]
ignored for i18n
Roland Häder [Thu, 28 Apr 2016 12:17:13 +0000 (14:17 +0200)]
Continued with customers and rewrite a bit:
- page show_customer "basicly finished"
- removed double redundant i18n strings (no need)
- added customer's i18n strings (admin)
- now always handle a contact to "cellhpone templates", this is much easier and users/customers don't have cellphones/land-line or fax numbers, only contacts
- added template for administrative links for customers (similar to users)
- added missing navigation rules
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 28 Apr 2016 09:15:29 +0000 (11:15 +0200)]
Continued with customer:
- added converter for customerId <-> Customer object
- used this in administrative customer pages
- added method copyCustomerToController()
- added getter/setter for customer in helper bean
- some messages fixed (copy-paste)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 28 Apr 2016 07:00:11 +0000 (09:00 +0200)]
better wording
Roland Haeder [Thu, 28 Apr 2016 17:32:56 +0000 (19:32 +0200)]
updated jar(s)
Roland Haeder [Wed, 27 Apr 2016 20:30:37 +0000 (22:30 +0200)]
updated jar(s)
Roland Haeder [Wed, 27 Apr 2016 20:26:15 +0000 (22:26 +0200)]
Fixed imports + added new project dependencies (no cherry-picking, please)
Roland Häder [Wed, 27 Apr 2016 15:51:06 +0000 (17:51 +0200)]
Continued with contact:
- added observers for events being fired when admin added new contact
- cleared admin contact bean after adding contact
Roland Häder [Wed, 27 Apr 2016 15:40:49 +0000 (17:40 +0200)]
Continued:
- the email address is now optional (nullable), so updated all i18n strings
- moved data check to createContactInstance()
- added message about minimum data
Roland Häder [Wed, 27 Apr 2016 15:01:22 +0000 (17:01 +0200)]
Continued with contacts:
- added method addContact()
- introduced isSameContactFound() which checks if the given contact can be found in a list.
- this method can later be moved to ContactUtils to become generic.
- commented out noisy System.out messages
- removed no longer used logger messages
Roland Häder [Wed, 27 Apr 2016 14:25:53 +0000 (16:25 +0200)]
Some JSF fiyxes:
- id "cellphoneLinks" removed as it happens in a loop
- sometimes user is null, then user.userContact cannot be accessed and any attempts cause a NPE
- new error message ERROR_PARAMETER_CELLPHONE_NUMBER_USER_NOT_SET added (and used)
- added div tags for better showing error messages
Roland Häder [Wed, 27 Apr 2016 13:24:02 +0000 (15:24 +0200)]
added clear() methods to clear beans
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 27 Apr 2016 13:03:04 +0000 (15:03 +0200)]
Always remove contact instance from admin helper bean after linking it to avoid confusion
Roland Häder [Wed, 27 Apr 2016 12:15:17 +0000 (14:15 +0200)]
Continued with observers:
- added afterAdminAddedCustomer() to add contact to list
- commented out noisy debug lines
- clear() is still needed for request-scoped to remove the form data
- no need for explicit clear() call as the observer does it
- removed some commented out log messages
Roland Häder [Wed, 27 Apr 2016 10:35:48 +0000 (12:35 +0200)]
Continued a bit:
- all others are "List foo", fixed.
- wording fixed
Roland Häder [Wed, 27 Apr 2016 10:30:07 +0000 (12:30 +0200)]
added redirection outcomes to all "addFoo" methods
Roland Häder [Wed, 27 Apr 2016 10:23:24 +0000 (12:23 +0200)]
added menu for listing contacts
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 27 Apr 2016 10:19:45 +0000 (12:19 +0200)]
added missing i18n strings
Roland Häder [Wed, 27 Apr 2016 10:17:12 +0000 (12:17 +0200)]
already done by event (lesser hard-coded)
Roland Häder [Wed, 27 Apr 2016 10:14:46 +0000 (12:14 +0200)]
Continued a bit:
- added missing i18n strings
- added missing CSS classes and fixed user_status_locked (should be)
Roland Häder [Wed, 27 Apr 2016 10:08:33 +0000 (12:08 +0200)]
Continued a bit:
- fixed navigation rules (user/customer mixture)
- no ADMIN_LIST_CUSTOMER_FIELD, just ADMIN_CUSTOMER_FIELD
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 27 Apr 2016 10:02:05 +0000 (12:02 +0200)]
Continued a bit:
- added additional check if the contact is really in the selectableContacts list
- need to call EJB business method linkCustomer() (like for users, linkUser())
- customers don't have user profiles: customer != user
Roland Häder [Wed, 27 Apr 2016 09:37:44 +0000 (11:37 +0200)]
added admin helper usage (needed for overworked customer form)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 27 Apr 2016 09:22:56 +0000 (11:22 +0200)]
Customers currently don't have login names, at least not in jratecalc (maybe pizzaservice?)
Roland Häder [Wed, 27 Apr 2016 09:17:27 +0000 (11:17 +0200)]
Continued again with customer:
- added missing method selectableContacts()
- added missing doc-tag
- better show names and id number, not object
Roland Häder [Wed, 27 Apr 2016 09:13:37 +0000 (11:13 +0200)]
Continued with customer:
- opps, tpyo fixed in class name
- added observing method if an administrator has added a customer
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 27 Apr 2016 08:57:07 +0000 (10:57 +0200)]
renamed i18n string and added it
Roland Häder [Wed, 27 Apr 2016 08:54:32 +0000 (10:54 +0200)]
Refactured a lot:
- administrative controller are request-scoped, therefor their "cached" lists are never cached for a longer time. So all lists has to be moved to general controllers
- added new general customer bean for above refacturing
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 27 Apr 2016 07:44:45 +0000 (09:44 +0200)]
Minor: only contact entries/data is being listed, not complete "contacts" (user-perspective)
Roland Häder [Wed, 27 Apr 2016 07:36:19 +0000 (09:36 +0200)]
Renamed + added missing language strings
Roland Häder [Wed, 27 Apr 2016 06:52:40 +0000 (08:52 +0200)]
Continued with contacts:
- added hasContacts() / allContacts()
- listing of contacts started, maybe later add a method that checks where the contact is being used and returns a message key?
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 26 Apr 2016 15:57:13 +0000 (17:57 +0200)]
Continued a lot more:
- added ability to link any contact with user and/or customer accounts (later is unfinished)
- to make thism working, a controller method selectableContacts() is needed (cached)
- also the event for administrators adding users (customers missing!) must be observed to remove contact from selectable list
- because of the above, the HTML form can no longer validate required="true", it must be done by the controller (ugly exceptions for now)
- some beans/controllers loaded/injected
- added missing i18n strings
- fixed some exception messages
- ignored strings for i18n
- changed CSS class in admin area pages from small to medium (needs more space)
- removed double underscore (one removed)
Signed-off-by: Roland Häder <roland@mxchange.org>