【问题标题】:How add list headers to AlfDocumentListView in aikau?如何将列表标题添加到 aikau 中的 AlfDocumentListView?
【发布时间】:2016-12-05 07:50:16
【问题描述】:

考虑一下example。它有以下几行:

var views = [
   {
      name: "alfresco/documentlibrary/views/AlfDocumentListView",
      config: {
         widgets: [
            {
               id: "VIEW_ROW",
               name: "alfresco/documentlibrary/views/layouts/Row",
               config: {
                  widgets: [
                     {
                        name: "alfresco/documentlibrary/views/layouts/Cell",
                        config: {
                           widgets: [
                              {
                                 id: "DATA_LIST_TITLE",
                                 name: "alfresco/renderers/Property",
                                 config: {
                                    propertyToRender: "title"
                                 }
                              }
                           ]
                        }
                     }
                  ]
               }
            }
         ]
      }
   }
];

这仅显示数据列表,但没有任何标题。 在AlfDocumentListView 中添加什么以使其显示标题?

【问题讨论】:

  • 您的意思是,没有表格单元格标题的文档列表?

标签: javascript alfresco-share aikau


【解决方案1】:

我建议您阅读 GitHub 上的 Aikau 教程(请参阅 https://github.com/Alfresco/Aikau/blob/develop/tutorial/chapters/About.md)我认为您会发现它比官方文档包含更多关于 Aikau 的有用信息。您的具体问题的答案实际上在本教程的第 10 章中得到解决:https://github.com/Alfresco/Aikau/blob/develop/tutorial/chapters/Tutorial10.md

我还建议您利用 Alfresco 社区平台 (https://community.alfresco.com/),因为它在 Aikau 相关问题上拥有更多的受众,因此您可能会比在 StackOverflow 上获得更多的响应。我还建议您查看我在 Aikau (https://community.alfresco.com/community/ecm/blog/authors/ddraper) 上写的许多博客文章,因为您可能会发现它们包含很多有用的信息

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-02-14
    • 2023-03-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多