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

Extending SwitchableField

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 5.5
    • 5.3.10, 5.4.1
    • dialogs
    • Saigon 57
    • 3

    Description

      While creating an extension of SwitchableField, i needed to override 2 classes that might be improved:

      1. SwitchableFieldFactory might use the D class parameter to extend AbstractFieldFactory and D might extend SwitchableFieldDefinition (which leads to SwitchableFieldFactory<D extends SwitchableFieldDefinition> extends AbstractFieldFactory<D, PropertysetItem>)
      2. SwitchableField might declare its member fieldMap as protected or provide a getFieldByName() method

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              ngoc.nguyenthanh Ngoc Nguyenthanh
              vgombert Vincent Gombert
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - 1.5d
                    1.5d
                    Remaining:
                    Time Spent - 1d 3.5h Remaining Estimate - 0.5h
                    0.5h
                    Logged:
                    Time Spent - 1d 3.5h Remaining Estimate - 0.5h
                    1d 3.5h