]> git.mxchange.org Git - pizzaservice-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>
Fri, 20 May 2016 19:01:32 +0000 (21:01 +0200)
src/org/mxchange/pizzaaplication/database/BasePizzaDatabaseBean.java

index 0e6bff612e8f7f42a3f492fb49b5c1d45c1bd1ba..6ba5441100188358ecaee64616b3c3449b3117c7 100644 (file)
@@ -461,9 +461,9 @@ public abstract class BasePizzaDatabaseBean 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) {