From: Roland Häder Date: Thu, 28 Apr 2016 09:15:29 +0000 (+0200) Subject: Continued with customer: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=098f56c1b32c1dc4dc73879d6748664783b1ed7c;p=jfinancials-war.git 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 --- diff --git a/src/java/org/mxchange/addressbook/beans/helper/AddressbookAdminWebRequestHelper.java b/src/java/org/mxchange/addressbook/beans/helper/AddressbookAdminWebRequestHelper.java index bf8080af..6dbb3d90 100644 --- a/src/java/org/mxchange/addressbook/beans/helper/AddressbookAdminWebRequestHelper.java +++ b/src/java/org/mxchange/addressbook/beans/helper/AddressbookAdminWebRequestHelper.java @@ -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 diff --git a/src/java/org/mxchange/addressbook/converter/contact/AddressbookContactConverter.java b/src/java/org/mxchange/addressbook/converter/contact/AddressbookContactConverter.java index bc231236..f78db8cf 100644 --- a/src/java/org/mxchange/addressbook/converter/contact/AddressbookContactConverter.java +++ b/src/java/org/mxchange/addressbook/converter/contact/AddressbookContactConverter.java @@ -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);