Hi,
Any idea on this as I'm a bit stuck.
My requirement is that users can define the dynamic content of an email and I'd
like to use the JSF tags for handling tables etc. So I want to store the
facelet in the database.
Any pointers appreciated.
Thanks
tom
View the original post :
From the department of long-shorts:
have the function return a resource-URL like http://context/resource?id=; +
resource
and that servlet would fetch the resource from DB and spit it out.
As I said, there are probably much more elegant ways of doing this...
View the original post :
I am using a similar code to access templates from another webapp, but the
sample DatabaseResourceResolver shows you the basis:
| import java.io.ByteArrayInputStream;
| import java.io.IOException;
| import java.io.InputStream;
| import java.net.MalformedURLException;
| import