Teemu Suo-Anttila
a72aec6c20
Fix null as a SelectionModel
Provides methods for cleaning up selection models.
Change-Id: Ifd1db68ba8cd6e75942a3f700e608ee0d2dfcd15
8 years ago
Teemu Suo-Anttila
2a1b5b608e
Implement a new DateField based on LocalDate
Change-Id: I342a0ebd8562b2c0ab4deb3ed918ebfe9ee2f932
8 years ago
Aleksi Hietanen
ff768d1f88
Make onChange throw in TextField and CheckBox when Handler is null
Add readDesign, writeDesign, getCustomAttributes to CheckBox
Change-Id: I412413e53fde5a02a4f8a76a6b47b002141435a2
8 years ago
Teemu Suo-Anttila
35545a3b1f
Add setOptions to Listing with default implementation
Change-Id: Ica2b83341c8233934333beec6cf29109d4cca91f
8 years ago
Teemu Suo-Anttila
3bafddcc45
Implement a new typed Grid
Change-Id: I619558d4367ffaa77f3509c6a9203cada638f57a
8 years ago
Aleksi Hietanen
9764e11842
Change DataSource addDataChangeHandler() return type to Registration
Remove DataSource removeDataChangeHandler()
Change-Id: I07a92ad6e7d2c75ca8f53a3376d0b8157559cb70
8 years ago
Teemu Suo-Anttila
d60941d083
Add ListDataSource with tests
Change-Id: I38a0429e4f27a6734f3f6189bdd5c45706d86601
8 years ago
Aleksi Hietanen
99de9a9ae6
Implement onChange handlers in SingleSelection
Change-Id: I84b6d19e52ac0f55977ade6126a3cc1a9183c483
8 years ago
Teemu Suo-Anttila
843b837d5d
Fix select null in SingleSelection
Change-Id: I4156ee7d9a7e68cb8043db368b928a849b646d64
8 years ago
Teemu Suo-Anttila
94ab98d23d
Add Binder for binding beans to fields
Change-Id: I509f02261a36fcef276d2a1c5590a06bc28e8ed2
8 years ago
Johannes Dahlström
619e69e548
Implement new TextField
Change-Id: Ia2d357b77842bef188ae1f2a25e4a6a1c0a86dd0
8 years ago
Teemu Suo-Anttila
0dd799f75e
Implement a new typed CheckBox
Change-Id: I54030ad525e998f7533f4bb25b3e77c33791b145
8 years ago
Teemu Suo-Anttila
2a56290857
Use DataProviderConstants for communication
Change-Id: Ic51fd70229991838f5da449a3db467ea41a663ea
8 years ago
Teemu Suo-Anttila
2b8eca955d
Extract a base class from typed NativeSelect
This patch adds some helpers for extensions aimed at Listing components.
Change-Id: I7ac2ee56ca7e44ac0300c94d02d30533aea11f9a
8 years ago
Teemu Suo-Anttila
7d31b7132f
Add server to client communication to selection model
Change-Id: Iad3f8c6a5c1b30aebc01ce859d828153db91f596
8 years ago
Teemu Suo-Anttila
755c893008
Add typed NativeSelect and SelectionModel functionality
Change-Id: I3d65d02c34aa6ff0281cae36cfdd8b1166292d7f
8 years ago
Teemu Suo-Anttila
fc96cea89e
Add a DataProvider implementation
Change-Id: I8fba190a905a4dac6bfef5693064218672e23ba4
8 years ago
Teemu Suo-Anttila
fa1ae150f0
Introduce Listing and SelectionModel
Change-Id: Ied323b4874c3abe57e745a842c30580b50389243
8 years ago
Teemu Suo-Anttila
c9bd00f902
Add DataSource interface with abstract base class
Change-Id: If7800ea18f7bed0af99f9f65467d75544f9d22a7
8 years ago
Teemu Suo-Anttila
c2bfe02325
Initial HasValue, Handler, Event and Registration
Change-Id: Ib7e8b10d50fc37a118827e6e851c4ab54696c721
8 years ago
Denis Anisimov
8117b2602a
Provide a way to disallow navigation to the same state twice (#12107).
Change-Id: I831a02f26929cc7ec4dac5177cb68f84bd0bfc2b
9 years ago
Johannes Dahlström
3982e93901
Fix a Javadoc typo that crashes Checkstyle (yes, really)
Change-Id: Ib0ca5ad40a8e68a21c707941c7d533c9206a9129
8 years ago
Ingo Kegel
c0babd786c
New login form (#8171)
The legacy LoginForm is substituted with the new one which is compatible
in API.
The patch contains modified code from the addon
https://vaadin.com/directory#addon/loginform
Change-Id: I2178291c97c2f66840f832a0bf932271534beb49
9 years ago
Jonni Nakari
68784363dc
Suggestion pop-up width API for ComboBox (#19685)
Added API setPopupWidth(String) to ComboBox. The suggestion pop-up now
has three different width modes:
1. Legacy "null"-mode: width is determined by the longest item
caption for each page. This looks & feels like the old implementation.
This is the default mode
2. Relative to the ComboBox. e.g. 100%
3. fixed width using any CSS definition
Change-Id: Id60a6996ee82726196b84d50c2d0d18a6cfb5ebf
8 years ago
Henri Sara
ee5584d49f
Update missing @since for 7.7
Change-Id: I9c35e50fd4b56c6b70a4194526cbbbe7870add6e
8 years ago
Artur Signell
5b18c5469e
Send an ack message after push has removed connectors (#19822)
The server side needs to know the client has removed the connectors to
be able to do cleanup
Change-Id: Ic3d41cc5cbab035a53bf5c99496d74858c376e73
8 years ago
Artur Signell
c9f7f0f9e0
Correctly check if validators are present (#11450)
Change-Id: Ibc0173f96a1000e709bd7ee90cccd500fad1a223
8 years ago
Artur Signell
6d8c752e79
Load CustomLayout templates like other theme resources (#8578)
Change-Id: I0ee79c357a1a3e4c5ce1cb8a93ac0cf1ba4d4163
8 years ago
vilo
aa0816ce6e
Throw exception early on null itemId (#16541)
Change-Id: Iff42a6e9e5e00006c96fa82e102ff145449c6f88
9 years ago
Artur Signell
8858aa624d
Ensure ContainerOrderedWrapper returns itemIds in expected order
(#19427 )
Change-Id: I79cfe68cf5e9e37db27c53d2f7a1aa9a1573df90
8 years ago
Edoardo Vacchi
31709daa2d
Remove shortcut listener from subclasses of AbstractComponent (#16498).
e.g., Panel shadows actionManager with its own instance field
* solution: always invoke getActionManager()
Change-Id: Ibeca2ad53cb1175ae1ebcfb4d68b3d2bf36ea8b2
9 years ago
Artur Signell
809440a8a2
Change GridLayout to no longer be a legacy component
Change-Id: I9d5c135dbfbe108c17fea6334966d4df09ac61ca
8 years ago
Artur Signell
7d2d091ecb
Eliminate rounding errors for GridLayout expand ratios (#19797)
Change-Id: Idf05dde5d6526fafee618fd3e2eb1afa63fab7bc
8 years ago
Leif Åstrand
014997af24
Fix typo in VariableOwner error message
Change-Id: I80f038903e0f32e8b6cb38d6e7931362c4f0f285
8 years ago
Markus Koivisto
bfec8f8907
Remove guava URL encode dependency
Change-Id: I7b76c7736f470dd5016370b61d3872300c3331a9
8 years ago
Henri Sara
091b46e706
Eliminate most server-side Guava use
Change-Id: Iac0f5c96d827e2078ace0be76bc14aa34f379d57
8 years ago
Artur Signell
b784032b3b
Update to Atmosphere 2.2.9.vaadin2 (#19742)
Change-Id: I634e44971c6e4f653ecdcbf694be78ae67ef728f
8 years ago
Teemu Suo-Anttila
790b9cbada
Fix UIProvider backwards compatibility with AppWidgetset
Change-Id: Ia3171f4398caa9824f9b511da6576baa7b40be07
8 years ago
Anton Yegorov
68480bf45a
Fix comment for AttachListener interface (#19792)
Change-Id: I45fe48134b05c961e09043f0626763a9fc9e0093
8 years ago
Artur Signell
d3c617a77d
Fix null selection to work again (#19787)
Reverts the fix for #15181
Change-Id: I9ec45b1c9aad9788559d0de2b086bf5cf4af6b12
8 years ago
Artur Signell
66debbb208
Clarify expand javadoc for GridLayout
Change-Id: If68e81c7116c9294754167981ea3fb53360501bb
8 years ago
Henri Sara
2e6c40a374
Add @since for DesignContext
Change-Id: I92fbe5ed5bc8e770b6289b4cfae725f837b8eaef
8 years ago
Ilia Motornyi
ef306c16f5
Revert "Better default for nullRepresentation (#13221, #12877)"
This reverts commit 85870ccd9f
.
Change-Id: Ifb9bbac0ee36e71d2251c31b936a12f1f3ea7315
8 years ago
Ilia Motornyi
f2b013e8d6
Revert "Documentation fix for null representation (#13221)"
This reverts commit 41e29dd2e3
.
Change-Id: I4065d4db8dcc2dc652b171ab0472186bbe40ee17
8 years ago
Maciej Przepióra
db19b40724
Throw IAE in setExpandRatio() if given ratio is less than 0
Change-Id: Ie7f92edea210c54400f6dce38e1376e3c0eae575
8 years ago
Artur Signell
d1bd111c4e
Ensure addItem(null) returns null
Change-Id: I67823b306e68637b469ed35fad00f6af64e8cc15
8 years ago
elmot
41e29dd2e3
Documentation fix for null representation (#13221)
Change-Id: Ib532fbd9efd587080a75155139ae1a7a219c1003
8 years ago
Matti Tahvonen
85870ccd9f
Better default for nullRepresentation (#13221, #12877)
Change-Id: Ia4662c79b20ee699b3a9741ffa24c4de6645b775
9 years ago
Markus Koivisto
7787eee10d
Add interface for AppWidgetset (#19770)
This allows selecting the widgetset name and URL simply by placing
a class in the default package if nothing is explicitly give by
the user. This can be used e.g. by the Maven plug-in and other build
automation tools to automatically generate widgetsets or use one
from CDN.
Change-Id: If3a7b35e3b25371e08e6d9b504fcda6f66de5119
8 years ago
Leif Åstrand
20f012cb69
Clarify error message for column mismatches (#18323)
Change-Id: I94b0819b68dbdda96fb1036e503bf63390a800d7
8 years ago