-
1. Re: Recursive rendering in Seam Mail
tom_goring Feb 5, 2008 5:58 PM (in response to stephendv)Hi,
I've got this working. Here was my post:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=128918
You need to serve up your facelets from the database and the use ui:include.
Thanks
Tom -
2. Re: Recursive rendering in Seam Mail
pmuir Feb 5, 2008 6:06 PM (in response to stephendv)Easier than that. Just run the generated HTML through Interpolator.instance().interpolate() - hopefully it should accept that syntax.
-
3. Re: Recursive rendering in Seam Mail
tom_goring Feb 5, 2008 6:17 PM (in response to stephendv)I wanted to have dataTables etc in the email so the DB facelet route was the one for me.... it was a little involved !
-
4. Re: Recursive rendering in Seam Mail
mars1412 Feb 6, 2008 4:40 AM (in response to stephendv)isn't that a great security risk?
e.g. I could use:#{identity.addRole("admin")}
to try to get more rights in your seam app (and I guess this would work in most apps) -
5. Re: Recursive rendering in Seam Mail
stephendv Feb 6, 2008 4:46 AM (in response to stephendv)Good point! Strict data validation would be essential here, so ideally should follow a whitelist validation approach where I define the specific HTML markup tags that are allowed and the EL expressions which are allowed. If the input doesn't match this, then reject it.