[jboss-cvs] jboss-seam/src/mail/org/jboss/seam/mail/ui ...

Peter Muir peter at bleepbleep.org.uk
Thu Feb 8 17:01:55 EST 2007


  User: pmuir   
  Date: 07/02/08 17:01:55

  Modified:    src/mail/org/jboss/seam/mail/ui  UIBody.java
  Log:
  JBSEAM-770
  
  Revision  Changes    Path
  1.5       +4 -1      jboss-seam/src/mail/org/jboss/seam/mail/ui/UIBody.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: UIBody.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/mail/org/jboss/seam/mail/ui/UIBody.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- UIBody.java	2 Feb 2007 21:20:41 -0000	1.4
  +++ UIBody.java	8 Feb 2007 22:01:54 -0000	1.5
  @@ -45,12 +45,15 @@
              {
                 BodyPart text = new MimeBodyPart();
                 text.setText(encode(facesContext,alternative));
  +              text.addHeader("Content-Disposition", "inline");
                 BodyPart html = new MimeBodyPart();
                 html.setContent(body, "text/html");
  +              text.addHeader("Content-Disposition", "inline");
                 Multipart multipart = new MimeMultipart("alternative");
  -              multipart.addBodyPart(html);
                 multipart.addBodyPart(text);
  +              multipart.addBodyPart(html);
                 bodyPart.setContent(multipart);
  +              
              }
              else
              {   
  
  
  



More information about the jboss-cvs-commits mailing list