Versions Compared

Key

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

...

(info) From Magnolia 6.2.1, FormLayoutDefinition has replaced the deprecated PlainFormLayoutDefinition as the default layout.

Editor action layout

With the editor action layout, you can define an action area in content apps. This is the default layout for dialog footers with primary and secondary actions.

Code Block
languageyml
titleExample editor action layout definition
collapsetrue
footerLayout:
  $type: defaultEditorActionLayout
  primaryActions:
    - choose
    - cancel
  secondaryActions:
    - above
    - below

...

Info

If VerticalLayout.java is stored in src/main/java/info/magnolia/contacts/layout, my-style.css should be added to src/main/resources/info/magnolia/contacts/layout.

Editor action layout

With the editor action layout, you can define an action area in content apps. This is the default layout for dialog footers with primary and secondary actions.

Code Block
languageyml
titleExample editor action layout definition
collapsetrue
form:
  properties:
    text:
      label: Text
      $type: textField
      light: true
footerLayout:
  $type: defaultEditorActionLayout
  primaryActions:
    commit: commit