2016-12-05 44 views
0

考虑这个example。它有以下几行:如何将列表标题添加到aikau的AlfDocumentListView?

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使其显示标题?

+0

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

回答

0

我建议您通过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

我也建议你利用露天社区平台(https://community.alfresco.com/)你可能会得到更多的答复有比在计算器上的它在Aikau相关问题上有更多的观众。我还建议您查看我在Aikau(https://community.alfresco.com/community/ecm/blog/authors/ddraper)上撰写的许多博客帖子,因为您可能会发现它们包含大量有用信息