Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-3882

Reference fields by name as well as by fully qualified classname

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Neutral Neutral
    • 5.7
    • 5.4.6
    • None
    • None
    • Yes
    • Yes
    • Basel 79, Basel 147
    • 13

      Currently in a dialog definition, to specify the type of field you must supply a fully qualified class name of the field, for example:

      info.magnolia.ui.form.field.definition.TextFieldDefinition

      For legibility, ease of development, and to make fields easier to remember, a developer should be able to use a short name instead of needing to specify the class name. (But the fully qualified class name may still be used.) In this case:

      text

      Still to decide is which field should be used to supply this field name, maybe the same field "class" or a new field "fieldType".

      A developer should not have to specify a different dialog class for this functionality - it should work with the current default dialog.

      Validation: https://wiki.magnolia-cms.com/display/PMTEAM/Simplified+Dialogs+LDV

        Acceptance criteria

              ilgun Ilgun Ilgun
              czimmermann Christopher Zimmermann
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD