[jboss-user] [JBoss Seam] - Re: m:subject always HTML encodes strings

jarkko@jab.fi do-not-reply at jboss.com
Sun Sep 30 22:41:17 EDT 2007


Ups, forgot to tell that org.jboss.seam.mail.ui.context.MailResponseWriter write method uses the delegate (which happens to be org.apache.myfaces.shared_impl.renderkit.html.HtmlResponseWriterImpl ) for both plain and html outputs.


  |  @Override
  |    public void write(String str) throws IOException
  |    {
  |       if (TEXT_PLAIN_CONTENT_TYPE.equals(getContentType()))
  |       {
  |          delegate.write(str);
  |       }
  |       else
  |       {
  |          delegate.write(str);
  |       }
  |    }
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090074#4090074

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090074



More information about the jboss-user mailing list