cocoon-cvs mailing list archives

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

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

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/mail/java/org/apache/cocoon/mail/transformation/SendMailTransformer.java
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/mail/java/org/apache/cocoon/mail/transformation/SendMailTransformer.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/mail/java/org/apache/cocoon/mail/transformation/SendMailTransformer.java
Tue Aug 17 01:58:41 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/branches/BRANCH_2_1_X/src/webapp/samples/flow/jxcalc/calc.js
==============================================================================
Binary files. No diff available.

Mime
View raw message