Reset tabsheet scroller when unhiding leftmost tab (#14644)
Checking whether invisible tab are present before the scroll index and
if so resetting the scroll index when tab goes back to visible.
Change-Id: I156dbe93963b0d9f46e21a593ffc3c4c77ebd1c6
always retry a status code 0 uidl request (#15254)
A status code of 0 indicates that the request has not been handled by
the server because the connection was closed without sending response
headers.
This can happen on the browser side when the browser window is closed,
or it can happen on network equipment side under adverse quality of link
conditions.
Therefore vaadin should retry such a request once before popping up the
disconnect message.
Change-Id: I9524c97a3de8e4ac9499394a2a795b0441a36ead
MenuBar submenus close unexpectedly if use Valo theme (#15255)
This fix is for animation-in and animation-out.
Fix was done in VMenuBar. VOverlay provides now hide() method with
possibility to enable/disable the animations via parameters boolean
animateIn, boolean animateOut. By default they are true (not to break
animate-in, animate-out for VWindow and VNotification)
Change-Id: I49981952c7c18a02edd7fa9e6d247bb18f660207
Returning all validation errors in the exception cause when submitting a field group (#14742)
Following the similar logic as in AbstractField when multiple validation errors occur. Catching all InvalidValueExceptions and putting them together wrapped into the exception.
Change-Id: Ied08fd2155412539b28ef94bc74e6c989c62f709
UIInitHandler emits Content-Length when writing json response (#15271)
This prevents chunked-transfer mode and allows server infrastructure to
decide correctly on things like compression which benefits from knowing
a content length.
Change-Id: I4e969e0874b506d0f61526662ee78418987937c4
set Cache-Control and Expires header even when not-modified (#8757)
Usually first a resource is served with the lower code block. this
provides cache-control, expires and last-modification headers to the
browser. But when a not-modified response was served, these headers
were missing. This effectively caused the caching to no longer work once
the not-modified responses are sent out.
Change-Id: I9b1f0cacc91734f88bb0384872da0d426d4b5fe0
Based on Mika's reverted patch, with additional fix and test for
regression "an empty tooltip appears while the application is
initializing".
Change-Id: I8237fc9340265708a05a7576a5d9e8e374dc1fea
Don't iterate all connectors for unregistering (#14714)
This reduces the time spent in unregisterRemovedConnectors when updating
the text of one Label with about 380 connectors registered from 20 to 2
ms as reported by the Vaadin profiler. Performance when removing lots of
connectors remains at about 10 ms for removing 360 connectors. Profiled
in Firefox 32 on OS X.
Change-Id: I203fd8790f8ccc7c098ee91c44831a5ac6c4a82b