[jboss-user] [JBoss Seam] - Re: Custom pdf tag not rendered when in email attachment

dustismo do-not-reply at jboss.com
Thu Jun 7 18:32:29 EDT 2007


Ok, I have found the problem:

It works fine when I send the email by directly accessing the email template page..

But it does not work if I use

  | @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());
  |    }
  | }
  | 

Is this a bug, or is it the expected behavior of Renderer?

thanks,
Dustin

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052346#4052346

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052346



More information about the jboss-user mailing list