aboutsummaryrefslogtreecommitdiffstats
path: root/server/src
Commit message (Collapse)AuthorAgeFilesLines
* Initial import of TypedForm componentfeature/databindingTeemu Suo-Anttila2016-03-141-0/+227
| | | | | | | TypedForm determines the fields from the type class and generates textfields and datefields for editing purposes. Change-Id: I1bbc0e77190a3fc5a74d7339a3127e8a351a01df
* Initial import of TypedGrid component Teemu Suo-Anttila2016-03-143-0/+364
| | | | | | This patch introduces a generics version of Grid. Change-Id: I0777a0468ccb5f38e266aa0f33ceb8d0324d72dd
* Add simple ListBox component to use with the DataProviderTeemu Suo-Anttila2016-03-051-0/+145
| | | | | | | This patch changes the DummyDataProvider test to use the ListBox storing runnables instead of Buttons with actions. Change-Id: Ie3831ccbd397eb2c145cf2c036fa5e512dcfa230
* Split Filtering and page requests to different RPC callsTeemu Suo-Anttila2016-03-041-1/+12
| | | | Change-Id: I6c0a25f73ba98bf73f1df8382769aed98c3adc11
* Remove dead code, add test component with data communication (#19266)Teemu Suo-Anttila2016-03-041-19/+3
| | | | | | | | Test component has simple buttons for requesting next and previous page. The communication can be tracked through debug logging and all currently available objects are drawn on the screen as Json Change-Id: I850d7223e417437b4e26f236b457b939542ab623
* Improve JavaDocs for DataSources and DataChangeHandlerTeemu Suo-Anttila2016-02-126-52/+97
| | | | | | | This patch also splits DataChangeHandler away from the DataSource interface, making it easier for IDEs to find. Change-Id: I6030dec81870e290abd87bf91c834bc01a870f77
* Move key mapper to super class and provide methods to customise itTeemu Suo-Anttila2016-02-082-11/+27
| | | | | | | Adds a note to create methods of data provider to remind the developer that the method is called from the constructor and should not depend anything initialised on init or in the subclass constructor. Change-Id: Ifb153d5e9ac382318f380e16a3552e316d8197d0
* Provide simple clean up for DataProvider on remove and UI detachTeemu Suo-Anttila2016-02-082-2/+50
| | | | Change-Id: Ib21fbb5a254814725400b31ccaf023e4b7e13d1c
* Remove unnecessary size parameter from data reset in simple modeTeemu Suo-Anttila2016-02-053-14/+4
| | | Change-Id: I861cf9ed99637cd74ecb2f65705a2c7717afbd08
* Refactor DataSource from SimpleDataProvider to super classTeemu Suo-Anttila2016-02-052-30/+42
| | | | Change-Id: I4fcb1dcb2a7d4369e68bc2abc0c1168ad21c8201
* Fix TypedDataGenerator removal from DataProviderTeemu Suo-Anttila2016-02-051-1/+1
| | | | Change-Id: Iadc8d58d790a6b42ab96bded68009191736705d7
* Fix key and active data mapping when adding a data objectTeemu Suo-Anttila2016-02-041-0/+2
| | | | Change-Id: Ibfaf4b62673c008b94e039deb77f6f6d73d83753
* Introduce DataSource API and DataChangeHandler for it Teemu Suo-Anttila2016-02-045-11/+283
| | | | Change-Id: I3b24bca46ffc136884e163c94f3f4c304c1e12b2
* Fix SimpleDataProvider clean up and client-side data tracking on editTeemu Suo-Anttila2016-02-031-12/+9
| | | | Change-Id: I9807717df9cbae47c6532e43a58dd6bb693eaa85
* Split SimpleDataProvider from DataProvider super classTeemu Suo-Anttila2016-02-032-148/+197
| | | | Change-Id: Ib486553fa2f0f9d17de9012413b2647b73c07822
* Add simple data update support to DataProviderTeemu Suo-Anttila2016-02-031-0/+26
| | | | | | | | This patch adds the option of updating an existing data object. Update is done on the next client response to catch any possible changes before and after the update is initiated. Change-Id: I30ca4803dd7c47befcb8e5ae761860c09cbdb8bd
* Add simple support for generic reset for data to DataProviderTeemu Suo-Anttila2016-02-031-5/+19
| | | | | | | Adds a simple test that sorts the data and verifies that the content does not actually change with just sorting. Change-Id: I0d8889694a98da1d55e0335714f63abaedb5684a
* Use key mapping to keep track of data on the client-sideTeemu Suo-Anttila2016-02-021-13/+20
| | | | | | | | This method fixes data removing to be based on the key mapping instead of data content. Also the data clean up is now properly called when dropping data objects. Change-Id: I76a917968026f6c3b2693b52848448de92145fb1
* Add DataKeyMapper to correctly keep track of active dataTeemu Suo-Anttila2016-02-024-14/+266
| | | | | | | Added a simple test that checks transported data correctness. Also provides clean up method to TypedDataGenerator, even though it's not called actually yet. Change-Id: Icef69790732922b63a9874c9b1a6b44d4d682887
* Add simple data add/remove support to DataProviderTeemu Suo-Anttila2016-02-021-1/+25
| | | | | | | | Removal is currently based on the content of the object. Multiple objects with same content will cause problems. This should be fixed by adding a simple key mapping for objects. Change-Id: Ie6fd1c6bcb7e8eaa73469f8f794f5365b1590fe2
* Implement TypedDataGenerator support and clean up client-side codeTeemu Suo-Anttila2016-02-022-10/+88
| | | | Change-Id: I96080e2344ca0626940635dde77f2715c9d62c7b
* Add data communication for DataProvider for CollectionsTeemu Suo-Anttila2016-02-011-12/+87
| | | | | | | After this patch, the object is passed to the client-side as a JsonObject containing a key "k" with value from object.toString() Change-Id: I3f83144a6c84dda9812739ff2f2cb74cb5577d5c
* Add a dummy DataProvider for CollectionsTeemu Suo-Anttila2016-01-291-0/+62
| | | | Change-Id: I190e807094d8e235797e618ea80cb4b7136d1111
* Support non-indexed containers in RpcDataProvider (#19266)Teemu Suo-Anttila2016-01-151-5/+13
| | | | | | | | Any other type of container is supported by getting all the item ids and finding out the part we need to send to the client. This is not optimal, but should work. Change-Id: I02f05f31beddf506fc47a64bc21c98d142e809e0
* Make RpcDataProviderExtension more generic (#19266)Teemu Suo-Anttila2016-01-152-109/+47
| | | | Change-Id: I3099f2568b70670248983f735aa6cbac46238b34
* Refactor ComboBox item painting (#19929)Henri Sara2016-01-151-26/+51
| | | | | | | | | | This is an intermediate step towards a different approach to sending items from server to client. An unused null selection item attribute was removed, as the information is currently communicated outside the item. Change-Id: I9c08d627bcf48fd42793595795aeb3ac49c2fef6
* Request ComboBox pages with RPC (#19929)Henri Sara2016-01-151-10/+14
| | | | | | | | | | All client to server communication of ComboBox is now done with RPC. There is still an empty changeVariables() methods to override the default behavior in AbstractSelect. Change-Id: Ic11ea48cac1846272609f6e4107bb0006d18494c
* Move ComboBox filtering mode to state (#19929)Henri Sara2016-01-151-9/+5
| | | | Change-Id: Ida38de55e1fc06aa6ec5e693f34cd5bc14ac4fc5
* Move ComboBox pageLength to state (#19929)Henri Sara2016-01-151-22/+9
| | | | | | | Use shared state for the page length and update related tests. This change also removes an unused widget field. Change-Id: Id8719661121a9570be40028da09e32f27bec82b5
* Send ComboBox selection with RPC (#19929)Henri Sara2016-01-151-25/+15
| | | | | | Send the selection from the client to the server with RPC. Change-Id: Ic32d869c3dc2a8806f9c7cfd1f3db8263a5379a9
* Send ComboBox focus/blur with RPC (#19929)Henri Sara2016-01-151-8/+9
| | | | | | | | Send focus and blur events using RPC instead of in UIDL. This change does not use ConnectorFocusAndBlurHandler to preserve old timings. Change-Id: I1d58756e3955a11864b1ef00abcd27525a4db593
* Create new items with RPC (#19929)Henri Sara2016-01-151-10/+12
| | | | | | | When the user creates a new item, send it with client to server RPC. Change-Id: I1b92073dc2791911e4916d17f749dc1f35e54bca
* Create ComboBoxServerRpc stub (#19229)Henri Sara2016-01-151-6/+14
| | | | | | Create an empty client to server RPC implementation for ComboBox. Change-Id: I348208fefb267765814383559e55866bc0933e4b
* Use shared state in ComboBox (#19229)Henri Sara2016-01-151-25/+9
| | | | | | | This change uses shared state for the read-only flag, text input allowed flag and input prompt. Change-Id: I3bdc6843288c5309311461a3d036293d79004e22
* Add missing @since for 7.6.1Teemu Suo-Anttila2016-01-121-1/+1
| | | | Change-Id: Ic28598e561f0fc325b6f74ace3398d46ba996fb5
* Add a client-side connector for DetailsComponentManager (#19412)Teemu Suo-Anttila2016-01-051-1/+1
| | | | Change-Id: Ibc4d35a8f729b670d8712743c9da8d608a0ba952
* Fix NPE in Label.writeDesign with NULL values #19434John Ahlroos2016-01-051-6/+25
| | | | Change-Id: If3628bc655d6cd58ab51b7400af808bdbca3dc91
* Make GeneratedPropertyItem addItem return null when appropriate (#18685)Artur Signell2016-01-041-0/+9
| | | | Change-Id: I08f05bee9bf0c82f5767c63654046285c85f233a
* Ensure no unknown attribute warnings are logged in design tests (#19429)Artur Signell2016-01-042-0/+2
| | | | | | * Adds missing custom attributes to Slider/AbstractEmbedded Change-Id: I574caf3499ab0681a7c829f89164062eb725013f
* Fix custom attributes of Link component (#19107)maxschuster2016-01-041-6/+9
| | | | | | | Added the custom attributes href and target to the Link component to match the attribute names used by Link.readDesign() and Link.writeDesign() Change-Id: I7f257fcf89cb78d14d9632aa1be548e92f3010c3
* Include correct type and parameter info in exception (#19064)Artur Signell2016-01-041-2/+2
| | | | Change-Id: Ic08bfa69bc0c4cb42ecbb1d53ab712e75075ee10
* Make GeneratedPropertyItem equals self (#19426)Artur Signell2016-01-041-0/+33
| | | | Change-Id: Ieccb53a402dd6669fb684b0ef8e18e4c8778c58e
* Make GeneratedPropertyContainer.getItem(nonExistant) return null (#19425)Artur Signell2016-01-041-0/+4
| | | | Change-Id: I41e40b87b64aec046428c1294aa1d488b6daf693
* Revert changes which were previously reverted from only 7.5 (#19424)Teemu Suo-Anttila2016-01-011-48/+5
| | | | | | | | | | | | | | Revert "Take Window special case into account for invalid layouts (#17598)" This reverts commit abc1c5dff6438d65e53473b69ae9a3ca2b8e60e1. Revert "Render nested invalid layouts correctly (#17598)" This reverts commit ac4e85f4e35a57d1ba6e6f3448744cbb0c2df60f. Added test to ensure a similar problem is not reintroduced later Change-Id: I892896e953637d793d0c0a788f28f3b61494d441
* Update to Font Awesome 4.5.0Artur Signell2015-12-301-0/+20
| | | | Change-Id: Ied7437e43dee81671c6b36dd7f860cf9bdf7fb68
* Fix javadoc typo in ItemClickEventHenri Sara2015-12-211-1/+1
| | | | Change-Id: I759999ab2e39202b4dda7eafa2cc30a64524939d
* Increase grid column resize handle width (#16838)Marlon Richert2015-12-181-0/+10
| | | | Change-Id: Ic7768d9023d48b04458376765596059d3a81d8c6
* Fix empty @since tagsHenri Sara2015-12-181-2/+2
| | | | Change-Id: I68dd71f65091a6c5979b67c2faea9050feac2b02
* Make it possible to only show collapsible columns in menu (#9811)Leif Åstrand2015-12-161-1/+33
| | | Change-Id: I52cd2648d305f44d5688e7a2fcd222e6b167b97b
* Fix RpcDataProvider listener handling on ItemSetChange (#19371)Teemu Suo-Anttila2015-12-151-0/+11
| | | | | | | | Old ValueChangeListeners are discarded and new ones created when an ItemSetChange occurs. This is done to reapply the listeners to possibly recreated Items. Change-Id: I9956af8950e241005574c597c49c5efb43afc1c7