FTL登录OFBiz

时间:2015-08-20 06:14:43

标签: ofbiz

我是OFBiz的新手,我希望在呈现后保留FTL文件的日志,更详细一点,我想知道OFBiz中从FTL引擎返回的文件。例如:

  <#if sessionAttributes.autoName?has_content>
    <h2>  ${sessionAttributes.autoName?html}
      &nbsp;<a href="<@ofbizUrl>autoLogout</@ofbizUrl>" class="linktext">Logout</a></h2>
    <#else/>
      ${uiLabelMap.CommonWelcome}!
    </#if>  i want to know what will this code return .

我不知道怎么做,我还没有尝试任何东西。

1 个答案:

答案 0 :(得分:2)

不确定我的要求是否合适,但您可以在widget.properties中设置widget.verbose=true以查看生成结果中的屏幕/ ftl边界。只需在渲染屏幕后查看浏览器中的源代码即可。