考虑一下这个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添加什么才能使其显示标题?
发布于 2016-12-05 19:57:27
我建议你阅读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/),你可能会在那里得到比StackOverflow更多的回复,因为它在Aikau相关问题上有更多的受众。我还建议你回顾一下我在Aikau (https://community.alfresco.com/community/ecm/blog/authors/ddraper)上写的许多博客文章,因为你可能会发现它们包含了很多有用的信息
https://stackoverflow.com/questions/40969496
复制相似问题