]
Bradley Smith commented on JBSEAM-823:
--------------------------------------
Reader is fine - you get what I would like to do.
Thanks
Add capability to supply an InputStream to Renderer (for email
rendering)
-------------------------------------------------------------------------
Key: JBSEAM-823
URL:
http://jira.jboss.com/jira/browse/JBSEAM-823
Project: JBoss Seam
Issue Type: Feature Request
Components: Mail
Reporter: Bradley Smith
Assigned To: Peter Muir
I'm requesting the addition of a method on the Renderer component that takes an
InputStream.
Currently, Renderer only takes the String path to a facelets file:
@In(create=true)
private Renderer renderer;
public void send() {
try {
renderer.render("/simple.xhtml");
facesMessages.add("Email sent successfully");
} catch (Exception e) {
facesMessages.add("Email sending failed: " + e.getMessage());
}
}
If possible, I would like to supply an InputStream so that I can store templates in the
database, also allows me to upload new templates to a deployed application.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: