Files
freeipa/ipalib
Petr Vobornik 0d05a50e19 webui: field and widget binding refactoring
This is a Web UI wide change. Fields and Widgets binding was refactored
to enable proper two-way binding between them. This should allow to have
one source of truth (field) for multiple consumers - widgets or something
else. One of the goal is to have fields and widget implementations
independent on each other. So that one could use a widget without field
or use one field for multiple widgets, etc..

Basically a fields logic was split into separate components:
- adapters
- parsers & formatters
- binder

Adapters
- extract data from data source (FreeIPA RPC command result)
- prepares them for commands.

Parsers
- parse extracted data to format expected by field
- parse widget value to format expected by field

Formatters
- format field value to format suitable for widgets
- format field value to format suitable for adapter

Binder
- is a communication bridge between field and widget
- listens to field's and widget's events and call appropriate methods

Some side benefits:
- better validation reporting in multivalued widget

Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
2014-04-03 12:40:37 +02:00
..
2013-03-01 16:59:42 +01:00
2013-11-26 16:59:59 +01:00
2013-12-13 15:08:52 +01:00
2013-11-26 16:59:59 +01:00
2013-10-08 16:46:20 +02:00
2013-04-12 14:07:55 -04:00
2013-01-29 15:39:49 +01:00
2012-06-25 21:35:11 -04:00
2013-11-21 10:34:25 +01:00