Versions Compared

Key

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

This page describes two ways in which you may define the type of a field in Magnolia. A field definition must contain – at minimum – either a class or a fieldType property, telling Magnolia what type of field it should render.

Table of Contents

Introduction

The definition by class is the traditional (older) way, very well known to Java developers. The definition by fieldType has been implemented in Magnolia with the release of the 5.7 branch and is oriented towards front-end developers who may have only very little or no knowledge of Java.

Examples


List of class-fieldType correspondences

Include Page
_field names shortening
_field names shorteningclass-fieldType property pairing_class-fieldType property pairing