...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
modules | | pages | | apps | | pages | | subApps | | browser | | actions | | activate | | catalog | website | class | info.magnolia.ui.framework.action.ActivationActionDefinition | command | activate | icon | icon-publish | label | Publish |
|
改变列
在树型和列表视图中改变显示的列。您可以在内容视图(树,列表,搜索)中找到列配置。以下为数字资产应用的一个例子,使应用的树型视图里显示的列和列表视图里的相同,唯一的不同在于,路径列被省去了。扩展到已有配置并改写特定值的好处是,您总是能准确的知道您定制了什么。
Advanced Tables - Table Plus |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
workbench | | contentViews | | tree | | columns | | path | | enabled | false | extends | ../../list/columns | class | info.magnolia.ui.workbench.tree.TreePresenterDefinition | list | | columns | | asset | | path | | title | | status | | moddate | |
|
开启定制对话框
改变动作定义来开启您自己的对话框,而不是打开默认的。在dialogName
属性里找到对话框。以下是一个在通信录应用里引用对话框的例子。对话框定义在这里不展示了,您可以在同一个模块里找到。
Advanced Tables - Table Plus |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
browser | | actions | | addFolder | | editFolder | | class | info.magnolia.ui.framework.action.OpenEditDialogActionDefinition | dialogName | contacts:folder | icon | icon-edit | label | Rename folder |
|
修改对话框里的字段
...
Advanced Tables - Table Plus |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
节点名 | 值 |
---|
modules | | dam | | apps | | assets | | subApps | | browser | | detail | | editor | | form | | actions | | nodeType | | workspace | dam |
|
编写您自己的视图
如果您想要编写自己的视图呢?假设您希望用一个您写的叫做com.acme.sample.app.main.ContentDisplayViewAcme
的类替换info.magnolia.sample.app.main.ContentDisplayView
。
...