From 098f56c1b32c1dc4dc73879d6748664783b1ed7c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 28 Apr 2016 11:15:29 +0200 Subject: [PATCH] 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) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../beans/helper/AddressbookAdminWebRequestHelper.java | 2 +- .../converter/contact/AddressbookContactConverter.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5