Description
In FreeMarker 3 all kind of directive-like user defined objects (macros, TemplateDirectiveModel-s, TempalteTransfromModel-s, etc) has to be united under a single TemplateModel subinterface, which support all the features supported by the replaced FM2 concepts (e.g. nested content execution, loop variables, passing parameters by position and by name, varargs in both cases, call place bound caching, etc.). Obviously, the template language has to support calling this new interface, and then the old ones has to be removed.
Furthermore, as a new feature in FM3, passing parameter both by position and by name in the same invocation (as in <@image "foo.jpg" alt="Foo" />) need to be supported.
(Similarly, #function and TempalteMethodModel will have to be generalized and united, but that will be in a separate issue.)
Attachments
Issue Links
- links to