Author: dan.j.allen
Date: 2008-06-09 12:59:59 -0400 (Mon, 09 Jun 2008)
New Revision: 8359
Modified:
trunk/src/mail/org/jboss/seam/mail/ui/UIMessage.java
Log:
JBSEAM-3083
Modified: trunk/src/mail/org/jboss/seam/mail/ui/UIMessage.java
===================================================================
--- trunk/src/mail/org/jboss/seam/mail/ui/UIMessage.java 2008-06-09 16:55:20 UTC (rev
8358)
+++ trunk/src/mail/org/jboss/seam/mail/ui/UIMessage.java 2008-06-09 16:59:59 UTC (rev
8359)
@@ -109,8 +109,8 @@
@Override
public void encodeBegin(FacesContext context) throws IOException
{
- MailFacesContextImpl.start(getUrlBase()
- + context.getExternalContext().getRequestContextPath() == null ?
"" : context.getExternalContext().getRequestContextPath());
+ String contextPathOverride = getUrlBase();
+ MailFacesContextImpl.start(contextPathOverride == null ?
context.getExternalContext().getRequestContextPath() : contextPathOverride);
mimeMessage = null;
try
{
@@ -253,7 +253,7 @@
{
if (urlBase == null)
{
- return urlBase;
+ return getString("urlBase");
}
else
{
Show replies by date