#2040 Refactor UI widgets
Closed: Fixed None Opened 12 years ago by edewata.

The current design for UI widgets intermixes the logical and visual aspect of attribute handling. They should be split into 2 concepts:
- Field: field is responsible for loading, storing, and validating the values, getting metadata info (e.g. data type, validation pattern, I18n label), checking the permissions, etc.
- Widget: the new widget will be responsible for displaying the values, saving user input, detecting keystrokes, showing undo buttons, showing error messages, etc.


A widget could be nested inside another widget (e.g. multivalued widget, section) to allow reusing existing widgets.

Metadata Update from @edewata:
- Issue assigned to pvoborni
- Issue set to the milestone: FreeIPA 3.0 Core Effort - 2011/12

7 years ago

Login to comment on this ticket.

Metadata