1 Reply Latest reply on Jun 20, 2007 10:26 PM by mgrouch

    Facelets source tags not rendered in email

    mgrouch Expert

      Facelets source tags not rendered in email pdf attachment when
      it is rendered by calling renderer from action method. They are rendered properly if I specify 'view' attribute instead of 'action' on link tag

       public String emailAction() {
       try {
       renderer.render("/emailPdfAttachment.xhtml");
       facesMessages.add("Email sent successfully");
       }
       catch (Exception ex) {
       log.error(ex);
       facesMessages.add("Error sending email " + ex.getMessage());
       }
       return null;
       }