aboutsummaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename GridDragger to GridRowDragger (#10333)Pekka Hyvönen2017-11-178-25/+25
| | | The old name GridDragger gave an impression that you're dragging the whole grid instead of rows.
* Add documentation on GridDragger (#10328)Pekka Hyvönen2017-11-166-5/+85
| | | | This pathc also switches GridDragger to by default not allow drops on rows when the grid has been sorted.
* Update since tags in JavaDoc (#10325)8.2.0.alpha3Teemu Suo-Anttila2017-11-1512-19/+19
|
* Add helper for Grid row DnD (#10255)Pekka Hyvönen2017-11-1510-14/+1140
| | | | | | | | | | | | | | | | | | * Added Griddragger. * Refactored the GridDragger to match FW style Unit tests, Test UI and documentation to come next. * Change DropMode to BETWEEN and add Test UIs * Simplify GridDragger API * Fixes and unit tests for GridDragger Fixed issues regarding drop index calculation when sourche and target grid is the same. When the ListDataProvider is not internally using List, always drops to the end. Updates the old data provider instead of creating a new one to preserve filters&sorting.
* Add new drop mode ON_GRID for GridDropTarget (#10296)Pekka Hyvönen2017-11-153-14/+281
| | | | | | | | | | | | | | | | | * Add new drop mode ON_GRID for GridDropTarget Also adds a way to not accept drops on rows when the user has sorted the grid. This way the bad UX can be avoided for showing the drop indicator for the wrong place when the grid has been sorted. This has not been made default behavior to GridDropTarget since it would change behavior compared to 8.1. Instead if is triggerable via API in GridDropTarget. * Refactor sorted grid drop logic to server side * Block setDropMode calls Blocking setDropMode set values if the grid has been sorted and drop on sorted rows is not allowed. The value is used once the grid is not sorted anymore or the drops are allowed on sorted rows.
* Fix TreeGrid to use correct super constructor (#10291)Jerome Meyer2017-11-142-26/+35
| | | Fixes #10195
* Improve nested property support for Binder (#9925)Olli Tietäväinen2017-11-144-12/+477
| | | Fixes #9210
* Add API to read Binding value from bean (#10316)Teemu Suo-Anttila2017-11-132-3/+43
|
* Set no-store headers on UIDL messagesLeif Åstrand2017-11-101-3/+9
| | | | UIDL might contain sensitive information that we should prevent from being stored anywhere.
* Add ContentMode for row and cell descriptions in Grid (#10282)Teemu Suo-Anttila2017-11-101-8/+60
|
* Relax mapper access in HierarchicalDataCommunicator Ilia Motornyi2017-11-101-0/+8
| | | Fixes #10292
* HasItems.setItems(T... items) should allow edits (#10290)Pekka Hyvönen2017-11-065-3/+92
| | | | | | | | | * HasItems.setItems(T... items) should allow edits Arrays.asList() creates a immutable Arrays.ArrayList, preventing users from doing dataProvider.getItems() and updating the returned collection. This makes it impossible to keep the same data provider, update it and keep the filters & sorting, and then just call dataProvider.refreshAll() to get changes visible. We should not require users to create a new data provider in this case. This is the same for DataProvider.ofItems(T... items) * fix missing whitespace from test error message
* Relax TreeGrid and Tree members access modifiers. (#10293)Ilia Motornyi2017-11-063-6/+44
| | | | | | | | * Relax TreeGrid and Tree members access modifiers. Fixes #10292 * Fixes after review
* Use lambda expressions. (#10268)Ahmed Ashour2017-11-015-96/+62
|
* Fix end of line comments, which were made by automatic formatter (#10234)Ahmed Ashour2017-10-318-34/+25
|
* Remove redundant interface already implemented by super class. (#10258)Ahmed Ashour2017-10-3122-49/+29
|
* add Grid.Column#get/setAssistiveCaption (#10219)Knoobie2017-10-302-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | * add Grid#Column#get/setAssistiveCaption * fix test and update doc * move testGridAssistiveCaption to GridTest * delete test file * delete test file * Delete GridAssistiveCaptionTest.java * Create GridAssistiveCaptionTest * Create GridAssistiveCaption * Rename GridAssistiveCaption to GridAssistiveCaption.java * Rename GridAssistiveCaptionTest to GridAssistiveCaptionTest.java * Reformat using eclipse
* Use lambda with Handlers (#10229)Ahmed Ashour2017-10-271-1/+0
| | | Also improve naming by replacing one-letter variable names.
* Use lambda with Listeners (#10222)Ahmed Ashour2017-10-2620-48/+54
| | | Also use "event" as the name for events
* Improve naming of fields and variables (#10242)Ahmed Ashour2017-10-2627-153/+151
| | | | | * Variable names to conform to naming convention. * Use static constants where it makes sense
* Remove trailing spaces (#10224)Ahmed Ashour2017-10-2630-95/+95
|
* Grid column to be sortable when implemented/supported (Fixes #8792). (#10190)Ahmed Ashour2017-10-232-3/+31
| | | | | | | | | | | * Grid column to be sortable when implemented/supported * Fix GridDeclarativeTest * Parameterize to Grid<Person> * Revert Parameterize to Grid<Person>, JDK with generics. * Assertions for other columns * Fix test Fixes #8792
* Grid.removeColumn() not to fail silently (Fixes #8056) (#10215)Ahmed Ashour2017-10-202-37/+105
| | | | | | | | | | * Grid.removeColumn() not to fail silently (Fixes #8056) * Compilation with JDK * Fix removeColumnByColumn_alreadyRemoved test * Use ExpectedException
* AbstractDateField.formatDate() to be abstract (#10186)Ahmed Ashour2017-10-203-53/+60
| | | | | | | | | | | | | | | | | | | | | | * AbstractDateField.formatDate to be abstract Remove invalidDateString paramter, as it can be deduced * Fix test * Remove AbstractDateField.getResolutionVariable VAbstractTextualDate: rename updateDateVariables() to updateBufferedResolutions() * Revert to use fixed value of MONDAY. * release notes * updateAndSendBufferedValues() * Missed call to updateAndSendBufferedValues(); * release note
* Added utility method Binder#asRequired() (#9873)Stephan Knitelius2017-10-201-0/+25
| | | | | | | | | * 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)
* Fix typos (#10213)Ahmed Ashour2017-10-2010-19/+19
| | | | | | * Fix typos * Fix
* Use .toLowerCase and .toUpperCase(Locale.ROOT) (#10182)Ahmed Ashour2017-10-2029-50/+69
| | | | | | | | * Use .toLowerCase and .toUpperCase(Locale.ROOT) * Spaces * add spaces after if(
* Simplify lambda expressions (#10198)Ahmed Ashour2017-10-2032-184/+128
| | | | | | | | * Simplify lambda expressions And remove unneeded 'return' keyword. * Format
* AbstractDateField: set value after being invalid (#10187)Ahmed Ashour2017-10-201-20/+19
| | | | Fixes #9763 Fixes #9978
* Fix some checkstyle warnings (#10179)Ahmed Ashour2017-10-133-26/+46
|
* Convert AbstractDateField not to be a LegacyComponent (#10148)Ahmed Ashour2017-10-132-186/+152
|
* Use Collection.isEmpty() (#10172)Ahmed Ashour2017-10-1213-14/+14
|
* Remove redundant null checks before an instanceof (#10173)Ahmed Ashour2017-10-123-3/+3
|
* Add ErrorLevel to Validators and results (#10099)Teemu Suo-Anttila2017-10-116-51/+420
| | | Fixes #9792
* Fix Binder bean writing to only validate and write given bindings (#10162)Teemu Suo-Anttila2017-10-113-33/+95
|
* Prevent Grid refreshAll from getting stuck due mismatched state (#10161)Ansku2017-10-101-3/+0
| | | Fixes #10038
* Fix typos (#10158)Ahmed Ashour2017-10-104-8/+6
|
* Remove unneeded .toString() (#10141)Ahmed Ashour2017-10-1011-36/+35
|
* Edit grid row by index - server side (#10040)Piotr Wilkin2017-10-104-2/+49
| | | | | Opening grid editor from server side. Fixes #8477. Addressing #8820 will be the user's responsibility as fetching index of item might be slow.
* Use StringBuilder instead of StringBuffer (#10154)Ahmed Ashour2017-10-092-3/+3
|
* Add empty line at the end of files (#10142)Ahmed Ashour2017-10-066-6/+6
|
* Don't use synthetic methods for listener classes. (#10135)Ahmed Ashour2017-10-0410-44/+74
| | | Fixes #9504
* Fix typos (#10124)Ahmed Ashour2017-10-048-22/+25
|
* Registration to remove state.registeredEventListeners (fixes #9634) (#10130)Ahmed Ashour2017-10-044-24/+83
| | | 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.
* Break iteration when method is found (#10128)Ahmed Ashour2017-10-032-7/+4
|
* Use static import of Assert in tests (#10126)Ahmed Ashour2017-10-03170-2046/+2211
| | | | Also removes dependency on junit.framework.TestCase .
* Use enhanced for loop for arrays. (#10121)Ahmed Ashour2017-10-027-50/+37
|
* First sentence of javadoc should end with a period (#10114)Ahmed Ashour2017-10-0275-236/+242
| | | Also includes minor other javadoc and formatting fixes.
* Use enhanced for loop instead of Iterator. (#10100)Ahmed Ashour2017-09-2911-58/+25
|
* Use StandardCharsets.UTF_8 (#10113)Ahmed Ashour2017-09-2918-57/+74
|