| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
* Update copyright year range.
|
| |
|
| |
|
|
|
|
|
| |
Fixes #10647
Fixes #10498
|
|
|
|
|
| |
Also update declarative writing to use true instead of "" for empty
attributes because of changed defaults in JSoup. For v7, the tests are
updated instead of touching the implementations.
|
| |
|
|
|
|
|
|
|
| |
* Add deafult getEmptyValue for MultiSelect interface (#8420)
Added an default implementation for getEmptyValue to the
MultiSelect interface.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add DataProvider refreshItem for single item update
* Add 'id' concept for DataProviders
This patch also adds a simplified data provider that can replace items
based on their id. This can be used to simulate stale objects from an actual
backend.
* Add refresh logic to Grid SelectionModels
* Remove broken equals and hashCode
* Refresh KeyMapper, clean up some methods
* Fix UI.access in test
* Fix tests and Grid single selection model
* Do clean up before replacing data provider
* Check correct variable for null value
* Fix other selects, add generic tests
* Code style fixes, removed assert
* Merge remote-tracking branch 'origin/master' into 286_refresh_items
* Fix documentation for refreshing an item
* Improve introduction chapter, minor clarifications
* Merge remote-tracking branch 'origin/master' into 287_refresh_items
* Add missing parameters in unit tests
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Replace Listing with HasDataProvider and HasFilterableDataProvider
The type parameters of the Listing interface does in practice mean that
it isn't useful for anything. This patch replaces that interface with
separate types for components that require filterable data providers and
components that support any kind of data provider.
The setItem methods are extracted to a common interface that is also
directly implemented by AbstractListing.
|
|
|
|
| |
* Include old value in ValueChangeEvent
|
|
|
|
|
|
|
|
| |
* Correctly reset DataCommunicator when its DataProvider is changed
* Improve ReplaceDataProviderTest
* Remove return type from AbstractListing.readItems
|
| |
|
|
|
|
|
| |
Renamed corresponding test packages too.
Fixes vaadin/framework8-issues#110
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Touched event listeners are:
- SelectionListener
- MultiSelectionListener
- SingleSelectionListener
- ValueChangeListener
- ItemClickListener
- BindingValidationStatusHandler
- BinderValidationStatusHandler
- StatusChangeListener
Part of vaadin/framework8-issues#264
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Introduce dedicated shared states for every core vaadin component/ext.
Updated components are:
- PasswordField
- CustomField
- AbstractListing
- AbstractMultiSelect
- ColorPicker
- ColorPickerArea
- DataCommunicator
- Responsive
- AbstractListingExtension
- DetailsManager
- AbstractRenderer
- ClickableRenderer
- ButtonRenderer
- CheckBoxRenderer
- DateRenderer
- HtmlRenderer
- ImageRenderer
- NumberRenderer
- ProgressBarRenderer
- TextRenderer
Fixes vaadin/framework8-issues#480.
|
|
|
|
|
|
|
|
|
|
| |
Listing has been moved from AbstractListing to each individual Component.
ComboBox is now typed to String filter.
Fixes issues with declarative read of items.
Change-Id: I6918f9f8c426dcbd81546150c2cf9ed49a02bf50
|
|
|
|
|
|
|
| |
Fixes vaadin/framework8-issues#388
Change-Id: I4f8045bba51d308f4343a1f6d01b3f1ddca63e69
|
|
|
|
| |
Change-Id: I9feaad000cb16351d281d1c0037330dfb76186ff
|
|
|
|
|
|
| |
javax.sql.DataSource
Change-Id: I6babcadc72f3f37feff98088eee23b153a080f11
|
|
|
|
|
|
| |
Fixes vaadin/framework8-issues#423
Change-Id: Ifd252b8feed323708a7ae73af2b836832570d192
|
|
|
|
|
|
|
| |
Client side doesn't use selection model anymore.
Fixes vaadin/framework8-issues#421
Change-Id: If3ecb1c2f3a0024df9bfdfd182eaf8cf8625ac75
|
|
|
|
| |
Change-Id: I33c8c977bf8cd2d4c637d7988586496ce963465f
|
|
|
|
| |
Change-Id: Ib867b71cab4cf5cda89f272986930297b7a84ced
|
|
|
|
|
|
|
|
|
|
|
| |
Vaadin 7 compatiblity fields still use setRequired via AbstractField (legacy).
Public setRequiredIndicator is added to AbstractField, AbstractMultiSelect and AbstractSingleSelect.
Internally it is still handled on AbstractComponent & -Connector level.
Changes the declarative syntax, required -> required-indicator-visible.
Fixes vaadin/framework8-issue#419
Change-Id: I940dc66944d27584bd78e5452aee627ee3abd03a
|
|
|
|
| |
Change-Id: I0000c1caf7c129634473161fe4876931f3c8dabf
|
|
|
|
| |
Change-Id: I785aa82d925cadee42cc1b17d345a8923f6dc8cc
|
|
|
|
| |
Change-Id: Iac8f0f48806c0a7c3030bd406e2e533104f26753
|
|
|
|
| |
Change-Id: If40bfa28764d1399b5ed4d5928988560e9989dce
|
|
|
|
|
|
|
| |
Single select components implement HasValue<T> and mutliselect
components implements HasValue<Set<T>>.
Change-Id: Ic280a43bf021efd7425cce04e75010b6745fd698
|
|
|
|
|
|
|
|
|
|
|
| |
This patch updates server side add*Listener methods to return
a registration object and deprecates their corresponding
remove*Listener methods.
Additionally this patch removes add/removeListener methods which were
deprecated in 7.0.
Change-Id: I26ac5f11882512288fbbf601c7cb2aaff653ec76
|
|
|
|
|
|
|
|
|
|
| |
This patch corrects the behavior of setting caption generators
that may return null.
Additionally renames RadioButtonGroup's ItemIconProviders to
generators, unifying it with other select components.
Change-Id: I5e8491834dccce1c37ab9c2002acc475e8945f4b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removes feature for adding new items.
Introduces a AbstractMultiSelect-abstraction layer,
which is used in server side by TwinColSelect & CheckBoxGroup and
on client side only TwinColSelect for now. Plan is to use it for
ListSelect too.
Further improvement would be to make AbstractMultiSelect use
SelectionModel that extends AbstractSelectionModel and is thus used
as an extension both as client & server side.
Updates to JUnit 4.12 for easier use of @Parameterized test..
Change-Id: I64258c2229b9514d382693748e2ca562a1e448d4
|
|
Also updates ComponentTest.getRpcProxy to use an approach that doesn't
require the component to be attached to a UI.
Change-Id: Iab4603a7818cd0fd2a3410660b90a2a839fb8a76
|