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
5
votes
2 answers

Vaadin 8 : reload grid with data from server every 1min

I am trying to have a auto refresh feature for the grid which basically, updates the grid with latest data from the server every 'n' seconds. I was able to implement the PollListner whenever the user enables Auto-Refresh. UI ui=…
SDS
  • 457
  • 5
  • 17
5
votes
2 answers

Generate an HTML page, and open in a new window, from a Vaadin 8 app

From my Vaadin 8 web app, I want the user to be able to open a report in another window, by clicking a button. The contents are to be generated by the Vaadin app using plain HTML5 rather than using Vaadin widgets. The Vaadin 8 manual has a page…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
5
votes
3 answers

Get List from Vaadin 8 Grid

Problem: I have a Vaadin 8 Grid , and I can't find a way to extract the items inside of it. Description: Starting from a grid Grid myGrid = new Grid<>(); I've configured it so it can take data with lazy loading. myGrid.setDataProvider( …
Leviand
  • 2,745
  • 4
  • 29
  • 43
5
votes
1 answer

Spring specifications 'and' not working

hello! I'm trying to build a custom filter for a data grid at runtime. I'm using spring boot and vaadin 8 for data presentation. Vaadin knowledge is irrelevant to this question. How i'm doing: I built a hashmap for the filters. private…
5
votes
1 answer

vaadin 8 FilesystemContainer alternative

I used FilesystemContainer in a Vaadin 7 application to populate the contents of a com.vaadin.ui.Tree for viewing and selecting files on the server. tree.setContainerDataSource (new FilesystemContainer (new File ("o: \\"))); However, when migrating…
JHamiltonM
  • 53
  • 7
5
votes
1 answer

Vaadin 8 - Is there a way to split a CheckBoxGroup into 2 rows?

I have a CheckBoxGroup that shows 8 items. The default presentation is vertical, which does not really look good in my layout. But if I set the presentation to horizontal using checkBoxGroup.addStyleName(ValoTheme.OPTIONGROUP_HORIZONTAL); then…
kscherrer
  • 5,486
  • 2
  • 19
  • 59
5
votes
2 answers

Vaadin 8 set session timeout

How to set timeout of a session in Vaadin 8? I am not using web.xml, which has been the place to set it in prior versions of the framework.
Stimpson Cat
  • 1,444
  • 19
  • 44
5
votes
2 answers

Has something replaced BeanItemContainer in Vaadin 8?

I downloaded a copy of the vaadin-charts-video example project from GitHub (https://github.com/vaadin-miki/vaadin-charts-video) to get a feel for how Vaadin charts are supposed to be implemented. However that project, and most of the available demo…
justinb
  • 85
  • 3
  • 7
5
votes
1 answer

Vaadin 8 Converter behaves different than Vaadin 7 Converter (doesn't update UI)?

TL;DR: Is there in Vaadin 8 something similar to Vaadin 7's converter to update the representation of an input field in the UI? I.e. removing all non-digits from the user-input immediately after the input-field lost focus, or converting a decimal to…
Kevin Cruijssen
  • 9,153
  • 9
  • 61
  • 135
5
votes
2 answers

How to add a generated column to Vaadin 8 Grid?

Looks like GeneratedPropertyContainer does not exist in Vaadin 8. How can we add a generated column to Vaadin 8 Grid? I appreciate if you can provide an example.
turgos
  • 1,464
  • 1
  • 17
  • 28
4
votes
1 answer

java.lang.NoSuchMethodError: org.mockito.Answers.get()Lorg/mockito/stubbing/Answer;

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
4
votes
1 answer

How do I add style names to grid rows without selecting them?

I want to style a grid row after clicking on it. I get the grid row / item in the itemClickListener, but I need to avoid using grid.select(item). I have achieved the desired output which would highlight the row I clicked on with the grid select…
Michael Kročka
  • 617
  • 7
  • 22
4
votes
0 answers

Jumping through the Vaadin CDIView Menuitems

the following picture is just a sample picture to make the explanation of my problem easier. I am using Vaadin 7.x. and have a CDIView in my project. Now, imagine that we're already in "Buttons & Links" page and want to jump to "Labels" page using…
Reza P.
  • 306
  • 2
  • 18
4
votes
1 answer

How can I export "filtered" grid in vaadin 8?

I have export method to csv format for all grid data. If my user filter content in the grid, it is only afected to view, and export button keeps exporting all grid data. How can I only export filtered grid data? /** * generateCSVExportFile */…
chetex
  • 115
  • 1
  • 8
4
votes
1 answer

Vaadin layout using CSS flex-box?

Is there a Layout in Vaadin 8 (Vaadin Framework) or Vaadin 10 (Vaadin Flow) that uses the newer CSS flex-box (a.k.a. flexbox) feature? This excellent tutorial makes it look like flex-box could be used to implement Vaadin’s GridLayout,…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
1
2
3
44 45