Versions Compared

Key

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

The Magnolia 5 UI field transformer classes for fields no longer exist in the Magnolia 6 UI framework. Their functionality has been replaced by item providers

Javadoc resource link
classNameinfo.magnolia.ui.editor.ItemProviderStrategy
renderTypeasynchronous
interface). The providers allow to bind form views to complex nested data structures and fine tune such bindings. The following tables present the ports in more detailThe transformer functionality is now distributed among different components. The following is a summary of the features the components do:

  • Modify the target property name, by appending a locale suffix or by prepending a composite field prefix. This is now done by concrete PropertySet  implementations (JcrItemPropertySet) and/or by the PropertyNameDecorator.
  • Resolve an item data source of complex fields, a functionality usually covered by item providers.
  • Manage item data sources of multi-value field entries. This is handled by the MultiFormView.EntryResolution, which resolves the children and binds each of them to the item provider strategy.

Replacements for field transformers

...