Questions tagged [vaadin8]

Vaadin 8 is the last primarily GWT-based version of Vaadin, an open-source Java web application framework. EOL Feb 2022, extended maintenance commercially available until Feb 2032.

Vaadin 8 is the last primarily GWT-based version of Vaadin, an open-source Java web application framework. Free support for Vaadin 8 ends in February 2022, extended maintenance commercially available until February 2032.

667 questions
4
votes
1 answer

Vaadin double clicking button on grid with active editor throws exception ("java.lang.NullPointerException: Editor can't edit null")

I have a vaadin grid with active, buffered editor. By default, the editor is opened when double clicking a row. Everything works fine, except when I double click the button I get an exception: (The exception doesn't point anywhere at my…
Julius Hörger
  • 383
  • 3
  • 11
4
votes
2 answers

Why does spring-vaadin forgets my set locale, but suddenly remembers it after a page refresh?

Situation: I have a vaadin-spring application in which I have to let the user change the language at login. I use a combo box at the login page to switch between locales. The spring locale resolver implementation is CookieLocaleResolver because I'd…
kruzexx
  • 131
  • 6
4
votes
2 answers

Vaadin "Cookies Disabled" Message in Chrome

I created a Vaadin (8.2.0) web app in Netbeans and uploaded it on a Glassfish (4.1) server. I can access the app's home page in Edge and Firefox, however in Chrome I get this message: Cookies disabled This application requires cookies to function.…
Hamed
  • 1,175
  • 3
  • 20
  • 46
4
votes
1 answer

How do you set the DateField in Vaadin 8 to highlight the default date according to the user's timezone

I would like the DateField to be defaulted to my user's timezone. I've tried DateField.setZoneId() but this really didn't seem to do anything. I then tried to do DateField.setDefaultValue(LocalDateAdjustedForTimeZone) which mostly worked in that the…
Stephane Grenier
  • 15,527
  • 38
  • 117
  • 192
4
votes
0 answers

Refresh the grid size after browser screen resize Vaadin

Vaadin version: 8.1.4 My problem is that after resizing the screen the grid is not resized properly. I use setSizeFull() for a grid. After resizing the browser grid, however, retains its original size. The next code sample seems to do the trick, but…
4
votes
1 answer

How to calculate the total in a Vaadin 8 grid footer with filtering

I know I have to use grid.getDataProvider() to get the ListDataProvider (assuming I sent a List to grid.setItems()). In other to calculate the footer total I do: Collection myItems = ((ListDataProvider)grid.getDataProvider()).getItems(); for(MyItem…
Stephane Grenier
  • 15,527
  • 38
  • 117
  • 192
4
votes
1 answer

Implement a column renderer for Vaadin 8 Grid

The Vaadin Framework guide has a page describing how to use Column Renderers in a Vaadin Grid. And this page describes implementing renderers, but all too briefly. I want to implement a InstantRenderer to complement the partial set of java.time…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
4
votes
1 answer

How to set object list to Vaadin 8 combobox

I want to integrate list of complex objects to a Vaadin combobox. I tried it as follows and that shows only garbage values (toString() values). But I want to know how to set the specific attribute which should show in the drop down. Below class…
Dilu
  • 83
  • 6
4
votes
1 answer

@UIScope annotation not respected for spring view?

I am facing an issue with the Vaadin spring annotation @UIScope, defined as follows: @SpringComponent @SpringView(name = AdminView.VIEW_NAME) @UIScope public class AdminView extends NavigatingView { ... } The view is created every time the…
Steffen Harbich
  • 2,639
  • 2
  • 37
  • 71
3
votes
1 answer

java.lang.IllegalStateException: Failed to load ApplicationContext after upgrading spring boot version to 2.6.6 from 2.2.4

I am trying to upgrade the spring boot version from 2.2.4 to 2.6.6. I'm able to compile the application successfully and I'm able to start the application. But when I'm trying to run the tests, all the tests are failing with one…
Ciby
  • 107
  • 1
  • 9
3
votes
1 answer

Which versions of JDK are compatible with Vaadin 8?

I am using OpenJDK 11 for Vaadin 8. Have anyone used a later version of OpenJDK for Vaadin 8 successfully? If yes, which version of OpenJDK? I want to know if I can upgrade OpenJDK to a later version for Vaadin 8.
3
votes
1 answer

Vaadin SCSS Compilation fails- File to import not found or unreadable: ../valo/valo.scss

I am working on migration from Vaadin 8 to Vaadin 14 LTS in MPR. The .scss files used in our project need to be compiled. I used the following plugins com.vaadin
Manushi
  • 597
  • 1
  • 7
  • 26
3
votes
1 answer

Unexpected exception after update to vaadin 8

I'm getting the below error on the ListSelect component. A few version back in vaadin 8 it's working file. Now I've updated the version to 8.14.2 then I'm getting this: java.lang.IllegalStateException: Client tried fetch more rows than allowed. This…
avdhesh
  • 317
  • 2
  • 10
3
votes
1 answer

How to set Vaadin 8 LoadingIndicatorConfiguration in a button click

I am using Vaadin 8 and the LoadingIndicator is causing me some problems. For 90% of the time I need it to be set accordingly: 1st delay == 300ms 2nd delay == 600ms 3rd delay == Integer.MAX But for some specific actions I need this to be modified,…
Michael Kročka
  • 617
  • 7
  • 22
3
votes
1 answer

Why get Warning "Unknown tag" in Eclipse for Vaadin Elements

I use Eclipse with Vaadin 8 and Vaadin Designer. In the Source mode view of the Vaadin designer, i get warning for all my Vaadin Elements. It is not a problem for the system but it is annoying to see these warnings all the time. I have added a…
sulox32
  • 419
  • 3
  • 19
1 2
3
44 45