> For better or worse I can use XSLT in Cobol on a mainframe. I feel for you... do what you gotta do ;)
> I do have one question. I'm not familiar with Freemarker and I can understand using it standalone but what advantage does it have over Tapestry templates that would make it worth learning if you are already using Tapestry? When I need that kind of functionality I just call a Tapestry page like a web service. Then I get my whole environment including services, permissions etc. You could use Tapestry to generate FO and then collect the FO using this method http://wiki.apache.org/tapestry/Tapestry5HowToGetAnHTMLStringFromARenderCommandParameterand send back a StreamResponse containing the PDF. Tapestry requires a servlet container and an HTTP request/response whereas freemarker can be run as a standalone application. In my case we were generating PDF's overnight in a batch as the FO/PDF stage can be quite slow to do in realtime. I'm sure you could use tapx-templating instead ( https://github.com/hlship/tapx/tree/master/tapx-templating) but I *think* this needs to run in a separate app to your tapestry webapp (I'm not 100% sure of this though as I've never used it). On Tuesday, 20 March 2012, trsvax <trs...@gmail.com> wrote: > I'm always up for a good flame war. > > I do admit XSLT is an acquired taste. > > In my particular case things like Freemarker are not versatile enough. My > first problem is only part of my project is Java so I need something that > does not require Java. For better or worse I can use XSLT in Cobol on a > mainframe. Next I send/receive a lot of data via XML to/from other systems > that do not have Java. Java objects are not my primary data representation > and there may not even be any Java in my data flow. > > I do have one question. I'm not familiar with Freemarker and I can > understand using it standalone but what advantage does it have over Tapestry > templates that would make it worth learning if you are already using > Tapestry? When I need that kind of functionality I just call a Tapestry page > like a web service. Then I get my whole environment including services, > permissions etc. > > -- > View this message in context: http://tapestry.1045711.n5.nabble.com/Make-Report-PDF-tp5533477p5580090.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >