cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: rev 36511 - in cocoon/trunk/src: blocks/mail/java/org/apache/cocoon/mail/transformation webapp/samples/flow/jxcalc
Date Tue, 17 Aug 2004 08:48:15 GMT
Author: cziegeler
Date: Tue Aug 17 01:48:14 2004
New Revision: 36511

Modified:
   cocoon/trunk/src/blocks/mail/java/org/apache/cocoon/mail/transformation/SendMailTransformer.java
   cocoon/trunk/src/webapp/samples/flow/jxcalc/calc.js
Log:
Don't use global variables for this sample

Modified: cocoon/trunk/src/blocks/mail/java/org/apache/cocoon/mail/transformation/SendMailTransformer.java
==============================================================================
--- cocoon/trunk/src/blocks/mail/java/org/apache/cocoon/mail/transformation/SendMailTransformer.java
(original)
+++ cocoon/trunk/src/blocks/mail/java/org/apache/cocoon/mail/transformation/SendMailTransformer.java
Tue Aug 17 01:48:14 2004
@@ -539,7 +539,7 @@
             String mailBody = new String(byteArr);
             messageBodyPart.setContent(mailBody, this.bodyMimeType);
         } else {
-            messageBodyPart.setContent(this.body.toString(), this.bodyMimeType);
+            messageBodyPart.setContent(this.body, this.bodyMimeType);
         }
 
         Multipart multipart = new MimeMultipart();

Modified: cocoon/trunk/src/webapp/samples/flow/jxcalc/calc.js
==============================================================================
Binary files. No diff available.

Mime
View raw message