处于孵化状态的项目不一定是反映了项目代码的完整性或稳定性,不过它确实表明了项目尚未得到 Apache 软件基金会的全面认可。
部分更新如下:
Changes on the FTL side
Added node?next_sibling and node?previous_sibling to move sideways in a node trees (see reference...). This works with XML DOM nodes, or with any custom TemplateNodeModelEx implementations.
Added new @@ keys to XML DOM models: @@next_sibling_element, @@previous_sibling_element. These get the sibling node if that's an element, with the extra that they silently skip any whitespace text and comment and processing instruction between them. (See more about @@ keys here...)
Bug fixed (FREEMARKER-42): ?first now works with FTL collections (things that can be listed but doesn't support getting items by index), not only with sequences. The practical importance of this is that ?first now always works on Java Set-s (which is useful forSet-s with well defined ordering), while earlier it has failed depending on the object_wrapper configuration setting.
通过配置 Maven 获取:[code]
软件详情:http://freemarker.org/docs/versions_2_3_26.html
下载地址:http://freemarker.org/freemarkerdownload.html
来自:开源中国社区

