Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Rename macro 'n' to 'mgnl-n'.

...

Advanced Tables - Table Plus
heading0
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse

节点名

Mgnl f
modules

 

Mgnl f
pages

 

Mgnl f
apps

 

Mgnl n
pages

 

Mgnl n
subApps

 

Mgnl n
browser

 

Mgnl n
actions

 

Mgnl n
activate

 

mgnl-p
catalog

website

mgnl-p
class

info.magnolia.ui.framework.action.ActivationActionDefinition

mgnl-p
command

activate

mgnl-p
icon

icon-publish

mgnl-p
label

Publish

改变列

在树型和列表视图中改变显示的列。您可以在内容视图(树,列表,搜索)中找到列配置。以下为数字资产应用的一个例子,使应用的树型视图里显示的列和列表视图里的相同,唯一的不同在于,路径列被省去了。扩展到已有配置并改写特定值的好处是,您总是能准确的知道您定制了什么。

Advanced Tables - Table Plus
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse
节点名
Mgnl n
workbench
 

Mgnl n
contentViews

 

Mgnl n
tree

 

Mgnl n
columns

 

Mgnl n
path

 

mgnl-p
enabled

false

mgnl-p
extends

../../list/columns

mgnl-p
class

info.magnolia.ui.workbench.tree.TreePresenterDefinition

Mgnl n
list

 

Mgnl n
columns

 

Mgnl n
asset

 

Mgnl n
path

 

Mgnl n
title

 

Mgnl n
status

 

Mgnl n
moddate

 

开启定制对话框

改变动作定义来开启您自己的对话框,而不是打开默认的。在dialogName属性里找到对话框。以下是一个在通信录应用里引用对话框的例子。对话框定义在这里不展示了,您可以在同一个模块里找到。

Advanced Tables - Table Plus
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse
节点名
Mgnl n
browser
 

Mgnl n
actions

 

Mgnl n
addFolder

 

Mgnl n
editFolder

 

mgnl-p
class

info.magnolia.ui.framework.action.OpenEditDialogActionDefinition

mgnl-p
dialogName

contacts:folder

mgnl-p
icon

icon-edit

mgnl-p
label

Rename folder

修改对话框里的字段

...

Advanced Tables - Table Plus
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse
节点名

Mgnl f
modules

 

Mgnl f
dam

 

Mgnl f
apps

 

Mgnl n
assets

 

Mgnl n
subApps

 

Mgnl n
browser

 

Mgnl n
detail

 

Mgnl n
editor

 

Mgnl n
form

 

Mgnl n
actions

 

Mgnl n
nodeType

 

mgnl-p
workspace

dam

编写您自己的视图

如果您想要编写自己的视图呢?假设您希望用一个您写的叫做com.acme.sample.app.main.ContentDisplayViewAcme的类替换info.magnolia.sample.app.main.ContentDisplayView

...