flack edited this page Dec 7, 2016 · 1 revision

MidCOM's Datamanager (usually abbreviated as DM) is a [library](Purecode Components) used for automatic form rendering and the display of the associated data. It handles the conversion to and from storage (usually [MidCOM DBA](MidCOM DBA) objects), allows for validation, locking and a number of other features, like the built-in RCS service. The (outgoing) current version is available in midcom.helper.datamanager2.


The functionality Datamanager offers is controlled by Datamanager Schemas. In them, fields of MgdSchema based content objects can be associated with storage locations (i.e. where should the field's value be saved), data types (number, text, date etc.), widgets (checkbox, select, textarea and so on) to be used in form rendering and a number of other characteristics. The schema association of objects is tracked in Parameters of the relevant object.

The schema files are used to render forms, but also to create content objects for display. Using these datamanager objects save the component author some trouble as they for example automatically resolve mnrelation types and offer HTML strings ready for output. They also interact with the MidCOM i18n framework, so that rendered are automatically localized (if the respective strings exist in the language database.)

Features include:

  • Datamanager Schemas for the data structure definition.
  • QuickForm methods can be used to customize the form rendering.
  • AJAX On-Site Editing
  • Custom callbacks can be defined for filtering, executed by QuickForm
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.