Author: manaRH
Date: 2008-10-24 04:41:08 -0400 (Fri, 24 Oct 2008)
New Revision: 9413
Modified:
branches/enterprise/JBPAPP_4_3_FP01/src/mail/org/jboss/seam/mail/ui/UIMessage.java
Log:
JBPAPP-1323
Modified:
branches/enterprise/JBPAPP_4_3_FP01/src/mail/org/jboss/seam/mail/ui/UIMessage.java
===================================================================
---
branches/enterprise/JBPAPP_4_3_FP01/src/mail/org/jboss/seam/mail/ui/UIMessage.java 2008-10-24
08:39:00 UTC (rev 9412)
+++
branches/enterprise/JBPAPP_4_3_FP01/src/mail/org/jboss/seam/mail/ui/UIMessage.java 2008-10-24
08:41:08 UTC (rev 9413)
@@ -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
{