Moves FocusDelegate to AbstractFieldState.
This change is done to revert backwards compatibiity breaking API
change in 7.7.4 when CustomFieldState was introduced.
Change-Id: I76212a8700463140520d5482b740fe0edbfb082c
- legacy DateField declarative format tests are fixed (day light saving
time is taken into account).
- CalendarMonthViewDndEvent UI because you are not supposed to work on
Sundays (when the test is broken).
Backported from master branch (Vaadin 8).
Change-Id: I5e62c09da579e9f6eb2a58a87253618d3f30b2e9
Add valo-menu-hover stylename to make responsive menu appear w/o adding code (#19019)
Adding the optional "valo-menu-hover" style to the "valo-menu" element
will make the menu appear on hover - i.e when mousing over on desktop,
when tapping on touch devices (which also triggers hover).
Backported from master branch (vaadin 8).
Change-Id: I8344234a20aa93216b0116608d81e30e86d8b309
Fix widget set builder to create widget set in correct location (#20320)
The fix for #20285 generates URLs so that the end in a slash, where the old
version generated URLs without the trailing slash. The trailing slash was not
taken into account by the code which updates a widget set.
Change-Id: Iabe716ed1632da7b2a6b1f4ffdc987c745d9452d
Use widget set specified by init parameter (#20276)
1. If a UI has @Widgetset, use that
2. If a "widgetset" init parameter has been specified, use that
3. If there is an AppWidgetset, use that
4. Use DefaultWidgetSet
This changes the default value of the @VaadinServletConfiguration widgetset
parameter to "", to avoid always setting the "widgetset" init parameter when
@VaadinServletConfiguration is used.
Change-Id: I87f9aa294d31e62bb94b7e831dd7b25ca1ce483b
Revert "Use widget set specified by init parameter (#20276)"
Breaks all use of AppWidgetset together with
@VaadinServletConfiguration
This reverts commit 516c428ca1.
Change-Id: I9e9bd792479ee1f4dde08c5d2a4d87e06b77f519
Fix regression that broke widget set compilation in 7.7.1 (#20285)
The fix for
https://dev.vaadin.com/ticket/20262
broke widget set compilation on Windows, possibly only under certain circumstances
Change-Id: Ica559b9c7199014bf1a2babad29f53b083ff74a2
Use widget set specified by init parameter (#20276)
1. If a UI has @Widgetset, use that
2. If a "widgetset" init parameter has been specified, use that
3. If there is an AppWidgetset, use that
4. Use DefaultWidgetSet
Change-Id: I522210220bb9e3eb339e9d226833d0fa8eb65839
The yuicompressor package is needed for optimizing the CSS output,
something which is not needed for on-the-fly compilation in
development mode.
Removing yuicompressor and its dependencies reduces the size of all
WAR files by 1.6MB
Change-Id: Ie5058ae9c22f580d358e2cd7d9d34a8f39b1feac
Fix ComboBox paging when number of items equals page length (#20213)
When pageLength == number of items, no paging should be shown except
if null selection is allowed, then there should be a second page
with one item.
Change-Id: I01c00f0c9d75a1dbb80d11b07c37c8ad7334ea07
Discard for DateField when the data source contains null (#8069)
Earlier discard did not work (#8069) if the data source
contained null and the user entered an invalid value for date fields.
The discard logic has been changed such that the error indicators and
internal state of the date field is cleared also if the value entered by
the user is invalid and the data source is null.
attach() updates the value from the data source in the same way as
discard. The old logic in attach is retained.
Change-Id: I5d798a2fdc3d2f0e82a037ea3cb2f57b6432039e
Fixed the compare filter to handle subclasses (#17169)
Earlier the comparision worked only if the item value was a subclass of
the value in comparator, but not in the other way around. Now the
compairision works if the one is a subclass of the other and both
implements Comparable.
Change-Id: I1bcbba94f1263915f838e948ed9d8b68a14aefd0
Support static inner classes when reading/writing declarative files (#20038)
Uses outer class name as package name for static inner classes. When reading,
there is no way to know that the class is an inner class so only when creating
a class fails, an inner class is tried as a backup.
Change-Id: I3ebf5b2da11384f9dc64072a3dc8ee132607237c
The legacy LoginForm is substituted with the new one which is compatible
in API.
The patch contains modified code from the addon
https://vaadin.com/directory#addon/loginform
Change-Id: I2178291c97c2f66840f832a0bf932271534beb49