【问题标题】:In alfresco document property page title is not getting displayed在露天文档属性页标题没有得到显示
【发布时间】:2018-01-17 13:56:34
【问题描述】:

在露天网站上传文件后,我点击编辑属性, 但是标题的标题没有正确显示。

请参考下图了解问题。

关于这一点,我已经检查了浏览器控制台中的日志以及存储库级别的服务器日志。

但是没有错误。

所以我不知道如何解决这个问题。

我还观察到,如果我们打开文档,然后单击编辑属性,它就会正确显示。

请建议我,会出现什么问题以及如何解决 这类问题。

【问题讨论】:

  • 能否分享一下您的分享表单配置代码,您的表单配置可能有错误。

标签: alfresco alfresco-share


【解决方案1】:

这是自定义表单吗?

如果您在 share-custom-config.xml 中定义了它,您也可以插入一个模板来显示名称。

编辑:

可能是这样,我没试过:

在您的表单定义中

<appearance>
     <field id="my:nameType" label="Title Type" mandatory="true" read-only="true">
      <control template="/org/alfresco/components/form/controls/custom.ftl">
      <control-param name="titleType">My Type</control-param></control>

                </field>
 </appearance>

您应该实现 custom.ftl 以显示您想要的内容

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-06-27
    • 2014-11-01
    相关资源
    最近更新 更多