Page History
Include Page | ||||
---|---|---|---|---|
|
contacts
workspace and displays contacts and foldersInfo |
---|
This workbench definition is part of the Magnolia 6 UI framework. The fully qualified class name is If you work with the Magnolia 5 UI framework, see Workbench definition for Magnolia 5 UI instead. |
Table of Contents |
---|
Example workbench definition
Code Block | ||
---|---|---|
| ||
workbench: contentViews: -#add name:view treedefinitions dropConstraintextensionViews: $type: jcrDropConstraint primaryNodeType: mgnl:contact $type: treeView columns: &columns - name: jcrName- view: label: name $type: jcrNameColumnthumbnailView editable: true nodeTypeToIcon: mgnl:contact: icon-people mgnl:content: icon-folder editor: availability: nodes: true properties: true - name: valueview-thumbnails label: value editable: true editor: availability: nodes: false properties: true - name: jcrPath label: path $type: jcrPathColumn - name: status label: status $type: jcrStatusColumn - name: mgnl:created $type: dateColumn label: date editable: false editor: availability: *onlyContacts field: $type: textField converterClass: com.vaadin.data.converter.StringToDateConverter - name: list columns: *columns $type: listView - $type: thumbnailViewexpandRatio: 1f name: wbName |
Workbench properties
| required Parent node for the content view definitions. Defines how users can view content in the workbench. The parent node for the specific content view definitions. It must Must contain at least one content view (see view. For more information, see Content view definition). | ||||||||||
dragAndDrop implementationClass | optionalrequired, default is true Set to | ||||||||||
| optional, default is AlwaysTrueDropConstraint A drag-and-drop constraint class. By restricting the nodes that a user can move you can enforce a certain node hierarchy. For example, you might want to allow content to be moved under folders but not folders under content. If the class is not defined, the
| ||||||||||
| optional Defines whether the workbench is editable inline. You can double-click a cell to edit its value. Works only for columns that are also configured as editable. You cannot define a default action and use inline editing at the same time. | ||||||||||
Class implementing | |||||||||||
extensionViews |
List of extension views configured in the workbench.
| ||||||||||
| required Actual view definition to be displayed in the extension panel. Must implement the | ||||||||||
| optional, default is Defines how space is divided in the workbench. A value of | ||||||||||
| optional, default is CSS class that identifies an icon used for the extension panel. For available names, see Icons. | ||||||||||
| optional, default is Name of the workbench. | contentTools | optional A list of configured content tools. A content tool must be configured with
|