[jboss-user] [JBoss Seam] - Facelets source tags not rendered in email

mgrouch do-not-reply at jboss.com
Wed Jun 20 21:51:47 EDT 2007


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#4056255

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



More information about the jboss-user mailing list