Hello there.
First of all, congratulation on Alfresco. It has great features and is a hell of a CMS.
The problem that brings me to this post is the following.
I'm trying to integrate WURFL (a library for mobile device detection), more specifically, WALL (Wurfl tags for translating a jsp file to several different mobile supported languages, like CHTML, WML and XHTML) into the freemarker templates that I'm using with the content held in Alfresco.
For that purpose, I'm trying to use the freemarker ability to "import" JSP taglibs through the "JspTaglibs" tag (a linkup to a TagLibFactory class they have) and always came up with "'JspTaglibs is undefined".
After consulting the freemarker manual, forums, wiki and code, along with your wiki, documentation, forums and the SDK's code (for some reason, I cannot connect to the SVN server, although other SVN servers work fine), I found the reason is the absence of an inclusion of the "JspTaglibs" inclusion (associated with a TagLibFactory) into the root in the getModel method of the TemplateContentServlet class.
I tried to alter the class into including that functionality but always come to a dead end (last time, I created the ServletContextHashModel using the TemplateContentServlet and a defaultWrapper as parameters and created the HttpRequestHashModel from the request used as parameter in the getModel and another defaultwrapper and ended up with "error processing template 'null'").
Does anyone know how I can support the JspTaglibs in the Alfresco's version Freemarker templates?