Stephan Knitelius
afb9d3b6c1
Added utility method Binder#asRequired() (#9873)
* Added the possiblity of defining a Field as Required without
setting an error message.
* Added @since to asRequired()
* Add droped paragraphs and see tag for asRequired(String)
6 years ago
Ahmed Ashour
69ac68e064
Fix typos (#10213)
* Fix typos
* Fix
6 years ago
Adam Wagner
df2157ab9f
Check class name type on Grid cell mouse over (#10194)
* Check whether className is of type string
* Move string type checker method to widget util
* Fix formatting of WidgetUtil
* Break svg into lines
6 years ago
Knoobie
cb85b62828
Improve role usage in grid (#10206)
* add role="row" and role="gridcell"
* optimize code and add additional rows for the header
* add simple test
* improve code and add rowgroup
* add debug log
* add more log to test
* remove debug test info and add role before appending to tr
* wording - change contains to contain
* create enum for magic strings, change comments and method signature
* rename enum to be singular and rename param roleName to role
* update javadoc, rename and make enum public
6 years ago
Ahmed Ashour
a9c83ba07e
Use .toLowerCase and .toUpperCase(Locale.ROOT) (#10182)
* Use .toLowerCase and .toUpperCase(Locale.ROOT)
* Spaces
* add spaces after if(
6 years ago
Teemu Suo-Anttila
0a26d0e441
Use GWT 2.8.2 (#10217)
6 years ago
Ahmed Ashour
c265cd1d6e
Fix HTML tags inside code in javadoc (#10160)
* Fix HTML tags inside code in javadoc
* only modify <table> and <tr>
* Fix javadoc
6 years ago
Ahmed Ashour
03570cb874
Scheduler.ScheduledCommand and RepeatingCommand to be lambda (#10203)
* Scheduler.ScheduledCommand and RepeatingCommand to be lambda
* Restore <table> in javadoc
* Fix docs
6 years ago
Ahmed Ashour
0f4702c6d1
Add spaces after 'if' and 'for' in JavaScript (#10199)
* Add spaces after 'if' and 'for' in JavaScript
* Revert to old format
* Remove whitespaces
6 years ago
Ahmed Ashour
780e9cee6b
Simplify lambda expressions (#10198)
* Simplify lambda expressions
And remove unneeded 'return' keyword.
* Format
6 years ago
Ahmed Ashour
70ba487b62
AbstractDateField: set value after being invalid (#10187)
Fixes #9763
Fixes #9978
6 years ago
Ahmed Ashour
4148d910a5
Fix AbstractDateField to correctly show week day names (#10188)
Fixes #9200
6 years ago
Ahmed Ashour
9b4bc10735
Add *.properties to .gitattributes (#10180)
6 years ago
Teemu Suo-Anttila
727accead3
Fix IDE usage of Elemental in vaadin-shared (#10178)
6 years ago
Ahmed Ashour
f42e0cc6f2
Fix some checkstyle warnings (#10179)
6 years ago
Ahmed Ashour
e651d542cb
Simplify waitUntil() in tests (#10181)
6 years ago
Ahmed Ashour
dd5597d901
Convert AbstractDateField not to be a LegacyComponent (#10148)
6 years ago
Teemu Suo-Anttila
569072dccd
Add Navigator testing to Spring Boot test (#10174)
6 years ago
Ahmed Ashour
c147b5d85b
Use Collection.isEmpty() (#10172)
6 years ago
Ahmed Ashour
13d406a708
Remove redundant null checks before an instanceof (#10173)
6 years ago
Teemu Suo-Anttila
d0b5741b81
Add ErrorLevel to Validators and results (#10099)
Fixes #9792
6 years ago
Teemu Suo-Anttila
dd806e8bb3
Fix Binder bean writing to only validate and write given bindings (#10162)
6 years ago
Pekka Hyvönen
75ac029f5a
Fix wrong method name in Grid docs (#10171)
6 years ago
Knoobie
0843f53881
Add aria-rowcount to grid (#10167)
This is based on discussion from vaadin/vaadin-grid#1023 .
6 years ago
Piotr Wilkin
69c6675572
Fix for Grid client-side exception. (#10166)
Do not try to update the select all checkbox if it is not visible.
Fixes #10164
6 years ago
Pekka Hyvönen
cc136864d3
Add mention of Flow to issue template (#10168)
6 years ago
Ansku
4a04a3afae
Prevent Grid refreshAll from getting stuck due mismatched state (#10161)
Fixes #10038
6 years ago
Ahmed Ashour
fa62729e24
Fix typos (#10158)
6 years ago
Ahmed Ashour
ab18b6c58e
Remove unneeded .toString() (#10141)
6 years ago
Piotr Wilkin
802bb98b85
Edit grid row by index - server side (#10040)
Opening grid editor from server side.
Fixes #8477 .
Addressing #8820 will be the user's responsibility as fetching index of item might be slow.
6 years ago
Teemu Suo-Anttila
a8f23e84a0
Move microprofile tests to profile, add Wildfly Swarm (#10156)
6 years ago
Teemu Suo-Anttila
4ac4b62434
Add maven based tests for several application servers (#10143)
Add tests for Glassfish based servers, Jetty 8, Tomcat 7 and Liberty (three runtimes).
6 years ago
Ahmed Ashour
9494818412
Use StringBuilder instead of StringBuffer (#10154)
6 years ago
Ahmed Ashour
915463b21a
Remove checkstyle "FinalClass" (#10145)
6 years ago
Ahmed Ashour
ce3f5a04a5
Add empty line at the end of files (#10142)
6 years ago
Teemu Suo-Anttila
3cbd834842
Add maven based server tests for Wildfly and Jetty (#10116)
This patch refactors the generic integration test war into
two jar dependencies and individual modules for different servers.
There is now a common approach for making configurations for the
remaining server tests still executed through an Ant build script.
6 years ago
Ahmed Ashour
eda970f667
Don't use synthetic methods for listener classes. (#10135)
Fixes #9504
6 years ago
Olli Tietäväinen
0eabcf3094
Support null intermediate properties in NestedMethodProperty (#10134)
Ignore null intermediate properties in setValue().
Forward port of #10085 in 7.7 to the compatibility package.
6 years ago
Ahmed Ashour
83f5e593f6
Fix typos (#10124)
6 years ago
Ahmed Ashour
f265739578
Registration to remove state.registeredEventListeners (fixes #9634) (#10130)
This changes SharedState.registeredEventListeners to be a Map that keeps track of how many listeners of each type have been added, and handles unregistering of such listeners correctly.
6 years ago
Knoobie
80336d30ed
Add role="grid" and aria-multiselectable to grid (#10009)
Also adds aria-selected for grid rows.
6 years ago
Ahmed Ashour
bf690d31eb
Break iteration when method is found (#10128)
6 years ago
Ahmed Ashour
ccad305464
Use static import of Assert in tests (#10126)
Also removes dependency on junit.framework.TestCase .
6 years ago
Ahmed Ashour
28b52d687d
Remove unneeded .toArray() (#10131)
Use for each loop.
6 years ago
Ahmed Ashour
7e4b4ff5a9
Use enhanced for loop for arrays. (#10121)
6 years ago
Ahmed Ashour
43f4a17f0d
Simplify conditional logic. (#10122)
And remove unused imports.
6 years ago
Ahmed Ashour
763a5cbe8c
First sentence of javadoc should end with a period (#10114)
Also includes minor other javadoc and formatting fixes.
6 years ago
Ahmed Ashour
adcf2e2e80
Use enhanced for loop instead of Iterator. (#10100)
6 years ago
Ahmed Ashour
46950473fd
UIDL to implement Iterable (#10101)
6 years ago
Ahmed Ashour
3c7a951411
Use StandardCharsets.UTF_8 (#10113)
6 years ago