I want to have a Java facelet that has EL expressions, and a set of beans that are email recipients. Then I want to loop through the recipients and render the facelet, getting the HTML out the other side. Then I will send the HTML to Amazon SES which will send the email.
Seam has classes for sending emails but you cannot just have it render your template.
I know back in the days of JSP, it was not possible to just render a view in line, but I think with facelets this might be possible. If not, open to other ideas.
Thanks.
Although it may be a bit outdated, FreeMarker is primarily a framework for rendering template files given some set of inputs.