Workaround for input prompt used as value on ESC in FF (#8051)
Fixed situation in which input prompt appeared as the value of an empty
TextField in FF if ESC was pressed.
Change-Id: I41c8ec4845b43b483165c10f78443f806d45a623
Change copying of Date values to avoid wrapping of date (#13269)
The error occurs only when current day is in the end of the month and
the textfield has no value when choosing months in the CalendarPanel.
This can not be sensibly tested by automated tests as it would require
setting the server time to a date that would trigger the problem (for
example 30.1). The error does not occur if the value is set before
setting the resolution (by the user or programmatically).
Change-Id: I6b3e5b699a773bd84b0f756d0c53698a09854a81
TestBench 3.1.2 is deployed to the testing grid, but the vaadin
project still depended on 3.1.1 until this fix.
Change-Id: Idecf0c772bd59d144a2caf3454d7749e352fef8a
Use Calendar as sender for action handlers (#13191)
The sender parameter to action handlers is now the Calendar instance
rather than an instance of a private RPC implementation class. This was
probably broken by an earlier refactoring.
Change-Id: If15cf232e7578eb55617f45db6b9304f5e80fed5
Add deprecated expand ratio methods to FormLayout (#12876)
FormLayout has never implemented expand ratios but does not
tell the developer about it either. Throwing an UnsupportedOperationException
would make this very clear but at the same time would break
existing applications which use the methods or which handle
AbstractOrderedLayouts in a generic way.
Change-Id: I0208f91c3c07aff98a78153887fbbea9dbc1d3d1
Remove unselected rows from selection on client side (#13008)
When server communicates the selected rows to the client side, client
side datastructure of selected row keys is updated such that also the
keys that has been unselected on server side are removed. This makes
the test MultiSelectWithRemovedRow to pass.
Change-Id: I7b6123436171972ecf345b07ddfb6d9965ca4f0c
Update textbox when Select item caption changes (#9250)
Fixed logic that detects changed item caption and triggers update to
textbox text. Changed test case description.
Change-Id: I9fbb0cc686e73404bab8e624a5332644cca53737
Selected option is updated when item caption changes in Select (#9250)
Fixed ComboBoxConnector to update input-element text to match the changed item caption. Added SelectItemCaptionRefresh test case and TestBench2 (html) test for it.
Change-Id: I45b2168aab27f83203a59500715ac9aca5357412
Ignores scroll events while update from server is in progress (#11454)
When ItemSetChange event occurs, it will recreate the rows in client side.
This will mess up the scroll position in scrollBodyPanel when its content
is removed. This why the onScroll events should be ignored until
the scroll position is reset by lazyScroller.
Change-Id: Ib70e0dd7b730d4745a84742509145658e35d517e
Event is now sent on submit even if no file is selected. Removed forceSubmit UIDL attribute and replaced it with a UploadClientRpc call. Added TestBench3 test.
Change-Id: Id32b82532ec34e61a9c0718413fd1755015d2c30
Moved selection of selected rows in TableConnector to occur after the new rows are created (#13008)
The selection of selected rows happened before the new rows were created. This resulted in situation
where the visible items on server side were different than the rows in scrollbody during the selection
of selected rows. Therefore, the selected keys in uidl contained wrong information and some selected
rows was marked as unselected even though they shouldn't. This again resulted in the original bug that
all the rows was not selected because the 'selectionRangeStart' row was not selected anymore.
Change-Id: I9f985cb45c97bacb6b71e36fa4bf077a1ac1311d
Decrease the websocket buffer size due to a Jetty 9.1 issue (#13087)
Jetty 9.1 throws if InputBufferSize is set to greater than or equal to
MaxTextMessageBufferSize. We cannot simply increase the value of the latter
because Atmosphere sets the former first. Thus, its value must be set to
less than 32768 (the default for MaxTextMessageBufferSize). This should not
cause problems with regard to performance; the original figure of 65536
was more or less an arbitrary choice.
Change-Id: If9596fc2bffdd14e8c1f31ff4b9b10d6685e01ed