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;
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056255#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...