Ensure that slider min is always smaller or equal to max. (#16776)
- Set slider min to max if max is being set to a smaller value than min,
and vice-versa.
- Set also an informative message to Slider.ValueOutOfBoundsException.
Change-Id: I06b6b05dd0ef2c1fb862cf4acc7df3e235db59ba
Fix RpcDataProviderExtension value change listener setup (#16550)
This patch changes value change listener mapping from itemid based to
index based mapping. This makes removing rows much less error prone
Change-Id: I77e9078de4ae61ce5d752cc394aa47bccd505e70
Enable navigation on a readonly Calendar. (#16523)
- Month view: navigate to week and day views
- Week view: navigate to day view and to next and prev weeks
- Day view: navigate to next and prev days
- Month view: hidden events can be expanded to view.
Change-Id: I19c64ae64c55b8e07be7f73be64e18e700f849b5
Grid columns can now be marked as non-editable (#16538)
Non-editable columns are not assigned editor fields. When the editor is active,
any non-editable content is not displayed (this should changein the future).
This is separate from setting the property or editor field read-only - in those
cases the field is still used to display the data which may not be desired and
will fail if there is no converter.
Also add Column.setEditorField(Field<?>) and the corresponding getter.
Change-Id: Ice17c357895cb63a8e1bfd6abaffc1d803399e98
* Removed shortcut interface
* Moved TimeZone converter to a separate class
* Moved Enum converter to a separate class
Change-Id: I2b959e3a002e6319912212df4a62a3bd05677f80
This fixes the issue discussed in #14595 for the framework's internal
tests (if they use MockVaadinSession).
Change-Id: I1956680ac065428be41b2ad43fbb80503351b366
Defer RPC calls in RpcDataProvider to avoid cache issues (#16505)
This patch defers cache refresh and row adding/removing. These calls are
omitted completely when making initial response to the client or
updating the size with bare ItemSetChangeEvents.
Change-Id: I6b350680b3e2381caf6a66c9a4ad283207d024dc
Add methods for getting invalid fields from a FieldGroup (#13775)
* Method for retrieving all failing fields exceptions from a
CommitException
* Methods for handling commit errors in Grid (#16515)
* Show editor row validation errors only on the fields (#16509)
Change-Id: Iabef662579e4ccae3803a513205e46542c41cce2
Conflicts:
server/src/com/vaadin/ui/Grid.java
Declarative for DateFields (and related) with ISO8601 (#16313)
DesignAttributeHandler supports method names that contains some words in
uppercase
DesignAttributeHandler and other components now use extensible Formatter
with Converters rather than static methods
Change-Id: I9f68414bd4821f47ff37a26375091d154cae9a93