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

Using Vaadin 8 Add-on with Vaadin 14 Java

I'm building a web app using Vaadin framework version 14. I would like to use a layout component add-on that was written for Vaadin 8. I know it's not that easy since they change the approach from basing on the client engine to render everything…
kupkol
  • 221
  • 1
  • 3
  • 13
3
votes
1 answer

How to add converter to grid column in Vaadin 8?

I am using Vaadin 8 and I am facing a problem. In my constructor, I create a grid which I add to a layout. Grid grid = new Grid<>(); grid.removeAllColumns(); //Here, I add columns to the grid grid.addColumn(... grid.addColumn(… … I then want…
Andferdd
  • 91
  • 3
3
votes
2 answers

Remove spacing between the first row and second row in the Gridlayout

Thank you very much for your help in advance. Let me explain the problem, I have grid layout where I am adding the labels in the first row (its called header row). In the next 5 rows, I am adding text field, combo and date fields. The problem I am…
Hari
  • 441
  • 6
  • 15
3
votes
1 answer

How do you fake a vaadin session for integration tests?

Let's say I have a custom annotation @ViewScope //<-- the issue @Qualifier @Component @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE, ElementType.FIELD,ElementType.PARAMETER,ElementType.METHOD, ElementType.ANNOTATION_TYPE}) public…
User1291
  • 7,664
  • 8
  • 51
  • 108
3
votes
1 answer

Vaadin WebApplication - Offline Mode possible?

So here's the situation: I recently took over responsibility for a Vaadin8 WebApplication from a former colleague who left the company, meaning I will now be responsible for maintenance and also for developing any enhancements the customer may want…
Flo
  • 223
  • 3
  • 14
3
votes
2 answers

Alternate between elements

In my Vaadin8 app, I'd like the UI to alternate between two labels. That is to say, in the same spot on the screen, show a label for 5 seconds and then switch to the other one, show that for another 5 secs, switch back and so on. What would be a…
Eight Rice
  • 816
  • 7
  • 24
3
votes
1 answer

Vaadin 8 grid multiple selection model get row on event

I am using multiple row selection in vaadin 8 grid, I need an event that gives me the selected row object upon clicking the selection checkbox not the row click.
Munendra
  • 33
  • 6
3
votes
2 answers

vaadin8 DateField: Cannot cast java.time.LocalDate to java.util.Date

I have simple entity (for example) import java.util.Date; class People implements Serializable{ ... private Date birthdate; //(getters, setters) ...} UI code: final Binder binder = new Binder(People.class); ... People…
zond
  • 1,473
  • 1
  • 21
  • 34
3
votes
1 answer

Vaadin 8 Spring Boot QuickTickets Dashboard with Spring MVC

I'm trying to adapt Vaadin Spring Boot QuickTickets Dashboard example with my project needs. Everything is working fine except I'm unable to access another (not Vaadin UI) URLs. For example, I have Spring Boot Actuator endpoint -…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
3
votes
2 answers

How can I vertically align the contents of a cell in a Vaadin Grid?

I have the following code that successfully centers the contents of a cell in my Vaadin grid. this.grid.setRowHeight(65); this.grid.setStyleGenerator(item -> "v-align-center"); It makes it looks like this. How can I also vertically…
benstpierre
  • 32,833
  • 51
  • 177
  • 288
3
votes
1 answer

Vaadin 8 - How to bind items of RadioButtonGroup?

I am making a view that has many TextFields and ComboBoxes and CheckBoxes, where their values are handled by a single Binder. No problem there. BUT: now I want to add 3 RadioButtons to the view, the values should come from the same Binder. Each…
kscherrer
  • 5,486
  • 2
  • 19
  • 59
3
votes
2 answers

Grid filled by a data provider: how to trigger an action after refreshment?

In Vaadin 8.2, I have a Grid bound to a bean using a data provider (AbstractBackEndDataProvider). Data is fetched from a DB, filters are applied: Grid grid = new Grid<>(); grid.setDataProvider(dataProvider.withConfigurableFilter()); // dataProvider…
3
votes
2 answers

Vaadin 8.2.0 Grid - How to remove the labels from MultiSelection-Checkboxes

Update #2: It turned out that our project setup was not optimal, which is why I had to manually copy the updated VAADIN folder with the theme to another location. The problem was not caused by vaadin but our project setup. Thank you …
kscherrer
  • 5,486
  • 2
  • 19
  • 59
3
votes
1 answer

Vaadin Session Management - How does it work?

At work, we develop a web application using Vaadin. I am a pretty advanced programmer in Java. I’m experienced with Vaadin as well. But now I've come to a point where information needs to be stored in a user session. Attributes like Locale, Username…
David Fischer
  • 75
  • 1
  • 6
3
votes
2 answers

Vaadin Grid middle mouse click

I'm trying to emulate normal browser behaviour in my vaadin grid, which includes middle mouse click to open in a new tab: addItemClickListener(e -> { boolean newTab = e.getMouseEventDetails().getButton() ==…
F43nd1r
  • 7,690
  • 3
  • 24
  • 62