Hi All,

I've been spending some time with Freemarker lately, trying to figure out what some of the best practices are and the best way to use it as a templating language with Stripes. I've run into a few issues with the incomplete JSP 2.0 support in their JSP tag container, but I've submitted changes (they actually gave me commit rights, I can't believe they're that open!), so now all the Stripes tags work swimmingly :) I'm hoping the changes will make it into a point release quite soon because then I can proclame the Stripes+Freemarker works without any problems :)

So my question for you all is really two-fold: have you used Freemarker before, and if so how would you like to see it work with Stripes? My initial thought was that it would work using the FreemarkerServlet (or subclass thereof) to make it behave much like JSP does - you can redirect to a view, forward to a view, include a view and so on. In fact I'm almost convinced this is the right way to go. The only thing that gives me pause is that I know the WW folks have a 'FreemarkerResult', that renders a template without going through the whole Servlet container dispatch process. I'm not entirely sure what the benefits of this are (maybe a tiny performance improvement) given the extra code to write and maintain.

Also, if anyone here is an experienced FreemarkerUser I'd appreciate your views on the usability of the FreemarkerServlet out of the box. I ran into some problems, and ended up writing a subclass, but I'm also working with the FM guys to add solutions to my issues back into the FM codebase (I'd really rather it be there)...

-t


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Stripes-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to