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
..
2012-02-01 12:47:46 -06:00
2012-02-07 00:48:07 -06:00
2012-02-07 00:48:07 -06:00
2012-02-07 00:48:07 -06:00
2012-02-01 12:47:46 -06:00
2012-02-01 12:47:46 -06:00
2012-02-01 12:47:46 -06:00
2012-02-01 12:47:46 -06:00
2012-02-07 00:48:07 -06:00
2012-02-07 00:48:07 -06:00
2012-02-07 00:48:07 -06:00
2012-02-01 12:47:46 -06:00
2012-02-01 12:47:46 -06:00
2012-02-01 12:47:46 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2011-05-26 14:53:40 -04:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2011-05-26 14:53:40 -04:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2011-11-11 14:44:21 +00:00
2013-03-18 15:11:08 +01:00
2011-01-20 14:12:47 +00:00
2012-01-13 10:57:59 -06:00
2011-01-20 14:12:47 +00:00
2012-01-13 10:57:59 -06:00
2012-02-20 15:47:39 -06:00
2012-01-16 20:11:18 +01:00
2011-11-11 14:44:21 +00:00
2012-01-16 20:11:18 +01:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2011-02-02 10:59:46 -05:00
2013-08-09 12:14:42 +02:00
2013-08-09 12:14:42 +02:00
2012-01-30 17:47:07 -06:00
2012-01-30 17:47:07 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-30 17:47:07 -06:00
2012-01-13 10:57:59 -06:00
2012-07-11 16:33:10 +02:00
2012-01-23 15:38:41 +01:00
2012-01-13 10:57:59 -06:00
2012-01-23 15:38:41 +01:00
2012-02-29 12:59:13 +01:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2012-08-14 08:09:31 +02:00
2011-01-20 14:12:47 +00:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2011-01-20 14:12:47 +00:00
2011-12-09 15:55:02 +01:00
2012-01-13 10:57:59 -06:00
2012-01-23 15:38:35 +01:00
2011-01-20 14:12:47 +00:00
2011-01-20 14:12:47 +00:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2011-01-20 14:12:47 +00:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2011-01-20 14:12:47 +00:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2011-01-20 14:12:47 +00:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2011-01-20 14:12:47 +00:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2011-12-09 15:55:02 +01:00
2011-12-09 15:55:02 +01:00
2011-12-09 15:55:02 +01:00
2011-11-11 14:44:21 +00:00
2011-01-20 14:12:47 +00:00
2011-11-11 14:44:21 +00:00
2011-10-26 12:55:04 +00:00
2011-11-11 14:44:21 +00:00
2013-04-04 12:53:59 +02:00
2013-04-04 12:53:59 +02:00
2013-04-04 12:53:59 +02:00
2013-04-04 12:53:59 +02:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2012-01-13 10:57:59 -06:00
2011-11-11 14:44:21 +00:00
2012-09-07 16:50:35 +02:00
2012-09-07 16:50:35 +02:00
2012-09-07 16:50:35 +02:00
2012-09-07 16:50:35 +02:00
2012-09-07 16:50:35 +02:00
2012-09-07 16:50:35 +02:00
2014-03-20 10:02:31 +01:00
2014-03-20 10:02:31 +01:00
2014-04-03 12:40:37 +02:00
2013-07-23 15:32:13 +02:00
2012-01-13 10:57:59 -06:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2011-07-07 20:33:06 +00:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2011-11-11 14:44:21 +00:00
2013-06-26 14:11:42 +02:00
2013-06-26 14:11:42 +02:00
2013-06-26 14:11:42 +02:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2011-01-20 14:12:47 +00:00
2012-01-13 10:57:59 -06:00
2013-03-18 15:11:26 +01:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2011-11-11 14:44:21 +00:00
2012-01-16 20:11:18 +01:00
2011-01-20 14:12:47 +00:00
2012-01-16 20:11:18 +01:00
2011-01-20 14:12:47 +00:00
2012-01-18 17:08:46 +01:00
2012-01-18 17:08:46 +01:00
2012-01-18 17:08:46 +01:00
2012-01-23 15:38:35 +01:00
2012-01-23 15:38:35 +01:00
2012-01-18 17:08:46 +01:00
2012-01-18 17:08:46 +01:00
2012-01-18 17:08:46 +01:00
2012-01-18 17:08:46 +01:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-03-14 04:40:35 -04:00
2012-02-28 23:58:51 -05:00
2012-01-13 10:57:59 -06:00
2011-01-20 14:12:47 +00:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2011-01-20 14:12:47 +00:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2011-01-20 14:12:47 +00:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2011-03-01 16:54:57 -05:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2012-01-13 10:57:59 -06:00
2011-01-20 14:12:47 +00:00
2012-01-23 15:38:35 +01:00
2012-01-13 10:57:59 -06:00
2012-01-23 15:38:35 +01:00
2011-01-20 14:12:47 +00:00
2012-01-13 10:57:59 -06:00
2012-06-25 18:17:06 +02:00
2012-06-25 18:17:06 +02:00
2013-05-06 16:22:30 +02:00
2013-04-10 09:24:46 +02:00
2011-11-11 14:44:21 +00:00
2012-09-06 19:18:22 -04:00
2011-01-20 14:12:47 +00:00
2011-01-20 14:12:47 +00:00
2011-12-06 22:07:44 +00:00
2012-01-13 10:57:59 -06:00
2012-01-23 15:38:35 +01:00
2012-01-13 10:57:59 -06:00
2012-09-06 19:18:22 -04:00
2012-02-15 09:23:05 +01:00
2011-11-11 14:44:21 +00:00