freemarker @standalone 指令在露天共享中意味着什么?

What does freemarker @standalone directive mean in alfresco share?

我正在查看 alfresco 默认模块和模板。其中大多数(至少我看过)以 <@standalone> 指令开头。我在文档中搜索了它,但没有结果。

<@standalone> 指令由 org.springframework.extensions.directives.StandaloneWebScriptWrapper class 提供。 完整的 JavaDoc 如下:

/** * <p>This FreeMarker Directive can be used as the outer-wrapper in a WebScript FreeMarker template to add the the * {@link OutputCSSContentModelElement} and {@link OutputJavaScriptContentModelElement} instances into the {@link ExtensibilityModel} * when the WebScript is not processed within the context of a {@link Page}. This ensures that any dependency files are * loaded into the page.</p> * <p>TODO: Currently this only outputs the JS and CSS deferred content model elements. This could be further enhanced to add * additional content elements that set up the structure of a page</p> * * @author David Draper */

没有我所知道的所有 FreeMarker 指令的完整列表 - FreeMarker、Surf 或 Alfresco 的一部分。