SteveSpring
Jun 18th, 2007, 09:09 AM
Hi. I have an application where our view tier is comprised of FTL pages, with us using the Freemarker view resolver. At present we have some basic XHTML with the odd model parameter tossed in, but soon some of the XHTML will need to be transformed by XSL.
I *really* don't like the idea of writing my own JAXP transformation code, and would much prefer to use Spring's AbstractXSLTView. However, because of the rather nice decomposition of the Spring API I can't find a clean way to combine an AbstractXSLTView with the Freemarker view resolver. Is such a practice discouraged, or is there an elegant solution to this?
I *really* don't like the idea of writing my own JAXP transformation code, and would much prefer to use Spring's AbstractXSLTView. However, because of the rather nice decomposition of the Spring API I can't find a clean way to combine an AbstractXSLTView with the Freemarker view resolver. Is such a practice discouraged, or is there an elegant solution to this?