]> git.mxchange.org Git - addressbook-core.git/commitdiff
added 2nd parameter baseUrl as EJBs cannot use FacesUtils
authorRoland Häder <roland@mxchange.org>
Wed, 18 May 2016 12:42:25 +0000 (14:42 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 21 May 2016 11:36:15 +0000 (13:36 +0200)
src/org/mxchange/addressbook/database/BaseAddressbookDatabaseBean.java

index 42a4c8890679a935075f0d26755afab3755945fa..5de4322a36ac355e3b658e1e160e6cde2186aaef 100644 (file)
@@ -461,9 +461,9 @@ public abstract class BaseAddressbookDatabaseBean extends BaseDatabaseBean {
         * @param emailAddress Recipient's email address
         * @param user User instance
         */
-       protected void sendEmail (final String subjectLine, final String templateName, final Address emailAddress, final User user) {
+       protected void sendEmail (final String subjectLine, final String templateName, final Address emailAddress, final User user, final String baseUrl) {
                // Trace message
-               this.getLoggerBeanLocal().logTrace(MessageFormat.format("sendEmail: subjectLine={0},templateName={1},emailAddress={3},user={4} - CALLED!", subjectLine, templateName, emailAddress, user)); //NOI18N
+               this.getLoggerBeanLocal().logTrace(MessageFormat.format("sendEmail: subjectLine={0},templateName={1},emailAddress={3},user={4},baseUrl={5} - CALLED!", subjectLine, templateName, emailAddress, user, baseUrl)); //NOI18N
 
                // All should be set
                if (null == subjectLine) {