I found what I want todo. It's not Jexl it's the VelocityEngine I need.
Here is the example from spring mail.
MimeMessageHelper message = new MimeMessageHelper(mimeMessage);
message.setTo(user.getEmailAddress());
message.setFrom("webmas...@csonth.gov.uk");/// could be
I don't know about the attachments but a clean Cocoon3 extension for
sending emails you can find here:
https://github.com/alveolo/butterfly/blob/master/cocoon/src/test/java/org/alveolo/butterfly/test/cocoon/email/MailSerializerTest.java
Greetings,
Greg
2014-03-13 15:02 GMT+01:00 Piratenvisier :
An application like this I use already.
Thorsten Scherler made this email Application for me.
The important point: I want to send an email and the Email Text and the
attachements are produced by cocoon pipelines.
This a an important part of my cocoon 2.10 application which I wanted to
transfer t
I got lost with your explanation :) It's a kind of awkward thing to me that
you are actually trying to do with that code.
Why not making it clean:
1. First you need a String-Template match to serialize the Hibernate bean
-> output XML with final values
where bean.xml is your
I used the EmailPlainPipe from the distribution:
byte[] bytes = (byte[]) parameters.get("input");
XMLGenerator generator = new XMLGenerator(bytes);
this.addComponent(generator);
byte[] xsl = (byte[]) parameters.get("xsl");
Source xslSource = new StreamSource(new B
With servlet-sitemaps Jexl can be used within any pipeline as {jexl:.}
value.
Please show example of your embedded pipeline ?
Greetings,
Greg
2014-03-13 11:09 GMT+01:00 Yahoo :
> How can I use Jexl in an embadded Pipline ?
>
> ---
How can I use Jexl in an embadded Pipline ?
-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org