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

Reference fields by name as well as by fully qualified classname

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed
    • Priority: Neutral
    • Resolution: Done
    • Affects Version/s: 5.4.6
    • Fix Version/s: 5.7
    • Component/s: None
    • Labels:
      None
    • Release notes required:
      Yes
    • Documentation update required:
      Yes
    • Sprint:
      Basel 79, Basel 147
    • Story Points:
      13

      Description

      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

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                    Checklists

                    DoD