TypedForm determines the fields from the type class and generates
textfields and datefields for editing purposes.
Change-Id: I1bbc0e77190a3fc5a74d7339a3127e8a351a01df
Add simple ListBox component to use with the DataProvider
This patch changes the DummyDataProvider test to use the ListBox storing
runnables instead of Buttons with actions.
Change-Id: Ie3831ccbd397eb2c145cf2c036fa5e512dcfa230
Remove dead code, add test component with data communication (#19266)
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 DataChangeHandler
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 it
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
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 DataProvider
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-side
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 data
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 DataProvider
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
Add data communication for DataProvider for Collections
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
Support non-indexed containers in RpcDataProvider (#19266)
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
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
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
Use shared state for the page length and update related tests.
This change also removes an unused widget field.
Change-Id: Id8719661121a9570be40028da09e32f27bec82b5
Send focus and blur events using RPC instead of in UIDL.
This change does not use ConnectorFocusAndBlurHandler to preserve
old timings.
Change-Id: I1d58756e3955a11864b1ef00abcd27525a4db593
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
Revert changes which were previously reverted from only 7.5 (#19424)
Revert "Take Window special case into account for invalid layouts (#17598)"
This reverts commit abc1c5dff6.
Revert "Render nested invalid layouts correctly (#17598)"
This reverts commit ac4e85f4e3.
Added test to ensure a similar problem is not reintroduced later
Change-Id: I892896e953637d793d0c0a788f28f3b61494d441