Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

This twin-column field definition has been deprecated since Magnolia 6.0. It is part of the Magnolia 5 UI framework.

For the updated implementation, see Twin-column field for Magnolia 6 UI instead.

Javadoc resource link
rangeHigherVersion6.0
classNameinfo.magnolia.ui.form.field.definition.TwinColSelectFieldDefinition
renderTypeasynchronous
renders two boxes side by side. Available items are in the left box and selected items in the right box. To select an item, move it from left to right. 

...

Simple twin-column field definition.:

JCR node
Localtab Group
Localtab
activetrue
titleYAML file
Code Block
languagejs
form:
 tabs:
    - name: tabTags
      label: Tags
      fields:
        - name: tags
          fieldType: twinColSelect
          type: String
          label: Tags
          options:
            - name: news
              label: News
              selected: true
            - name: sports
              label: Sports
              value: sports
            - name: celebrities
              label: Celebrities
              value: celebrities
Localtab
title
Advanced Tables - Table Plus
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse

Node name

Value

Mgnl n
form

Mgnl n
tabs

Mgnl n
tabTags

Mgnl n
fields

Mgnl n
tags

Mgnl n
options

Mgnl n
news

Mgnl p
label

News

Mgnl p
selected

true

Mgnl p
value

News

Mgnl n
sports

Mgnl p
label

Sports

Mgnl p
value

sports

Mgnl n
celebrities

Mgnl p
label

Celebrities

Mgnl p
value

celebrities

Mgnl p
fieldType

twinColSelect

Mgnl p
label

Tags

Include Page
_Referencing fields shortcut info - 5 UI
_Referencing fields shortcut info - 5 UI
Include Page
_referencing fields shortcut info_referencing fields shortcut info

Include Page
_Common select field properties - 5 UI
_Common select field properties - 5 UI

...

Include Page
_Common field properties - 5 UI
_Common field properties - 5 UI