]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Continued with customer:
authorRoland Häder <roland@mxchange.org>
Thu, 28 Apr 2016 09:15:29 +0000 (11:15 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 28 Apr 2016 18:00:18 +0000 (20:00 +0200)
- 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>
src/java/org/mxchange/addressbook/beans/helper/AddressbookAdminWebRequestHelper.java
src/java/org/mxchange/addressbook/converter/contact/AddressbookContactConverter.java

index bf8080af90f750ef2d1681249fa09b2ad1a8acf5..6dbb3d90f8c764452fc1397a0a81edf73961c82b 100644 (file)
@@ -21,9 +21,9 @@ import javax.enterprise.context.RequestScoped;
 import javax.inject.Inject;
 import javax.inject.Named;
 import org.mxchange.addressbook.beans.contact.AddressbookAdminContactWebRequestController;
+import org.mxchange.addressbook.beans.user.AddressbookAdminUserWebRequestController;
 import org.mxchange.jcontacts.contact.Contact;
 import org.mxchange.jusercore.model.user.User;
-import org.mxchange.addressbook.beans.user.AddressbookAdminUserWebRequestController;
 
 /**
  * A general helper for beans
index bc2312362b12815384a173f0a583d8e3052d69e2..f78db8cfbd4db755e4bcf7f82631b4a08090bdc4 100644 (file)
@@ -98,7 +98,7 @@ public class AddressbookContactConverter implements Converter {
                        contact = this.contactBean.findContactById(contactId);
 
                        // Debug message
-                       // NOISY-DEBUG: this.loggerBeanLocal.logDebug(MessageFormat.format("getAsObject: user={0}", user)); //NOI18N
+                       // NOISY-DEBUG: this.loggerBeanLocal.logDebug(MessageFormat.format("getAsObject: contact={0}", contact)); //NOI18N
                } catch (final NumberFormatException ex) {
                        // Throw again
                        throw new ConverterException(ex);