Implement support for binding multi-select components
Also updates ComponentTest.getRpcProxy to use an approach that doesn't
require the component to be attached to a UI.
Change-Id: Iab4603a7818cd0fd2a3410660b90a2a839fb8a76
Selection should be updated each time when new data is set (#244).
There is no order in two actions: set data source and selection. So
selection should always be saved to update the index once data is set.
Change-Id: I074d99adb1f11bf29ebaef50979d4cacda5cd1e4
ComboBoxState now inherits AbstractSingleSelectState, but still
effectively communicates its selection via RPC.
Change-Id: I47b6a73f275e0c4c63d70d2c2c8badc95a218157
This patch adds multi selection support only for CheckBoxGroup without
even trying to generalize anything. Adopting the concepts to work with
other components will be done separately.
Change-Id: Id4ccd2c743b74cb022dc9dfd8cd8dae3bf8f0c54
Fix binder.load to reset validation status in the end
Otherwise any validation triggered by field value changes listeners
would cause errors to be visible after loading a new bean.
Change-Id: I741529f491ae6b36ff2a9aa4326c394cc12fb320
Adds an unresolved validation status to make it possible to clear
visible field validation errors, even if status is not yet valid.
Change-Id: I227a8802b6a71be1533dc903bad1a8e2faef5ed2
BinderStatusHandler is now triggered only once per validation.
Unified ValidationError and BinderResult into BinderValidationStatus.
Renamed ValidationStatusChangeEvent into ValidationStatus.
Unified handler names for validation status.
Next patch will fix resetting of field errors on reset.
Change-Id: I9536d554d781fe599fbd7e5bcb5a9ffebe675ca0
Update ComboBox for new DataSource and communication mechanism
This simplifies the client side state machine.
This change does not modify the CSS class name v-filterselect.
Change-Id: I2f4a6e5252045cb7698d582be90693e00961b342
Uses RPC for client-to-server but leaves server-to-client to implementation.
SimpleSingleSelection uses shared state; lazy-loading implementations to pass
selection info along with item data.
Change-Id: I97c1dfa28eee39aef43eabbfbac56cd83fa5747c
This seems to have been dropped from the new TextField patch and is needed e.g. for
shortcut handlers to send the value before invoking the shortcut
Change-Id: Icb0fb45c8d28fad90f13f958cbc5970cdb0fd54a