JSF as template engine
We are trying to use JSF as template engine. For example to generate HL7 messages.
Let say that we have created the page and we need to get result from rendering of the page in some method without getting through HTTP.
What is the best way to do it? It would be perfect for us to use string that contains result of rendering the Page.
Thanks in advance,