我看到了露天默认模块和模板。而且其中大部分(至少我看过)以<@standalone>
指令开始。我在文档中搜索它,但没有结果。freemarker @standalone指令在户外分享中的含义是什么?
这个特定的指令是什么意思?
在他们的文档或其他地方是否有任何的alfresco的freemarker指令列表?
我看到了露天默认模块和模板。而且其中大部分(至少我看过)以<@standalone>
指令开始。我在文档中搜索它,但没有结果。freemarker @standalone指令在户外分享中的含义是什么?
这个特定的指令是什么意思?
在他们的文档或其他地方是否有任何的alfresco的freemarker指令列表?
的<@standalone>
指令由org.springframework.extensions.directives.StandaloneWebScriptWrapper类提供。 完整的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的,冲浪或露天的任一部分 - 我所知道的。