[seam-commits] Seam SVN: r8782 - branches/Seam_2_0/src/mail/org/jboss/seam/mail/ui.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Aug 22 15:44:16 EDT 2008


Author: dan.j.allen
Date: 2008-08-22 15:44:16 -0400 (Fri, 22 Aug 2008)
New Revision: 8782

Modified:
   branches/Seam_2_0/src/mail/org/jboss/seam/mail/ui/UIMessage.java
Log:
JBSEAM-3083 - really fix it this time


Modified: branches/Seam_2_0/src/mail/org/jboss/seam/mail/ui/UIMessage.java
===================================================================
--- branches/Seam_2_0/src/mail/org/jboss/seam/mail/ui/UIMessage.java	2008-08-22 16:59:59 UTC (rev 8781)
+++ branches/Seam_2_0/src/mail/org/jboss/seam/mail/ui/UIMessage.java	2008-08-22 19:44:16 UTC (rev 8782)
@@ -84,8 +84,8 @@
    @Override
    public void encodeBegin(FacesContext context) throws IOException
    {
-      MailFacesContextImpl.start(getUrlBase()
-                  + context.getExternalContext().getRequestContextPath() == null ? "" : context.getExternalContext().getRequestContextPath());
+      MailFacesContextImpl.start(getUrlBase() == null  ? context.getExternalContext().getRequestContextPath() :
+         (getUrlBase() + context.getExternalContext().getRequestContextPath()));
       mimeMessage = null;
       try
       {




More information about the seam-commits mailing list