Questions tagged [vaadin14]

Use this tag for version specific questions about Vaadin 14 - the open-source platform for web application development. When using this tag also include the more generic [vaadin] tag where possible. Vaadin 14 was superseded by Vaadin 23 in March 2022. Vaadin 14 is supported until Aug 2024, extended maintenance commercially available until Aug 2034.

430 questions
8
votes
1 answer

Vaadin Flow Grid with Row-Index

How do I add a row-index column to a grid, that will not be sorted along user-sorting of rows? The solution must not include changes to any polymer template, but should rather be done in java.
kscherrer
  • 5,486
  • 2
  • 19
  • 59
8
votes
2 answers

How to display a Grid cell tooltip in Vaadin Flow

With Vaadin 8 you could set a tooltip for a Grid cell. This feature is not available in Vaadin Flow (currently using v 11.0.0). Is there an alternative?
rmuller
  • 12,062
  • 4
  • 64
  • 92
6
votes
1 answer

Vaadin 14 show simple HTML Page

I made some kind of internal manual for a webapp that i am developing. I am using Spring Boot and Vaadin 14. How to implement a button that shows that document? The html doc is in my resources folder. I wonder if i am stupid. Or should i write my…
Stimpson Cat
  • 1,444
  • 19
  • 44
6
votes
1 answer

NullPointerException when initializing VaadinServlet using Vaadin 14

I am working on upgrading a Vaadin 8 application to Vaadin 14. I had to manually define an extension of VaadinServlet rather than using Vaadin 14's automatic servlet registration, as I need it to be mapped to a specific URL pattern. I am using…
Evan
  • 175
  • 7
6
votes
2 answers

Unable to create a Configuration, because no Bean Validation provider could be found - Vaadin 14 Spring Boot

I'm trying to use CRUD-add-on with Vaadin 14. But when I try to run this view: @Route("configuration") @JsModule("./styles/shared-styles.js") @CssImport("./styles/views/main/main-view.css") public class ConfigurationView extends AppLayout { …
euraad
  • 2,467
  • 5
  • 30
  • 51
6
votes
1 answer

How to build a working jar file in Vaadin 14 + Spring Boot?

Im trying to run my Vaadin14 project to production and my application cant find any vaadin flow components. I have a default application.properties and POM, and downloaded it from here https://vaadin.com/start/latest. I already have tried, delete…
garagumo
  • 133
  • 2
  • 12
5
votes
0 answers

Vaadin 14 - issue Cannot invoke "com.vaadin.flow.di.Lookup.lookup(java.lang.Class)" because "lookup" is null

I have a Vaadin 14.7.5 application running fine on a CentOS Linux release 7.8.2003 (Core) VPS deployed on Tomcat 8.5.39 running Java 17+35-LTS-2724. However when I deploy the same application to a newly created CentOS Linux release 7.9.2009 (Core)…
5
votes
3 answers

Vaadin 14: remove broadcast registration on page refresh

I followed the Vaadin tutorial (Creating Collaborative Views) for broadcasting events and register on them. Registration eventRegistration; @Override protected void onAttach(AttachEvent attachEvent) { log.debug("In attach..."); UI ui =…
4
votes
2 answers

How to style vaadin-upload-file component inside Vaadin Upload

I would like to style Vaadin Upload component (vaadin-upload) by changing appearance of the elements in file list, e.g. hide commands buttons (start, remove, retry). The file list contains vaadin-upload-file elements. For now I'm only able to…
kamillo
  • 131
  • 7
4
votes
2 answers

How do you get the column order for the Grid in Vaadin 14?

In Vaadin 8 you could just do the following for example to get a list of the columns in the order displayed on the screen. String columnOrderPreference = ((List)grid.getColumns()).stream() .map(Grid.Column::getId) …
Stephane Grenier
  • 15,527
  • 38
  • 117
  • 192
4
votes
1 answer

Vaadin 14 FormLayout Labels are in the wrong position

I am trying to set up a FormLayout using Vaadin 14 and no matter what I try, the labels appear below the form fields. I would like them to appear to the left of the fields, but even getting them to appear above the fields would be a step in the…
Evan
  • 175
  • 7
4
votes
1 answer

How to Change the Vaadin-Select Hover colour

Current Hover Color I want to change the hover color when we move mouse over the items in the vaadin-select box, by default its coming in light blue color as seen in screenshot 1 but I want to change to some other color. How to do that ? I have…
4
votes
1 answer

Vaadin14 - how to set Helper Text above the field in ComboBox

I know there is a way like this listBox.addThemeVariants(CheckboxGroupVariant.LUMO_HELPER_ABOVE_FIELD); But ComboBox does not have addThemeVariants. So How we can set the helper text above the field.
egemenakturk
  • 365
  • 1
  • 17
4
votes
1 answer

Vaadin 14 - Grid Column Header Formatting

I have some special characters in some of my column headers, such as "-" and "*". When these column names are rendered in the Grid, they include a space before and after the sequence. In other words, if my original string was "CUR-A1" then it would…
schaphekar
  • 495
  • 1
  • 5
  • 18
4
votes
1 answer

Adding Checkboxes to Vaadin Grids

I have constructed a Grid in Vaadin 14 using a parser to extract from files as shown below: Grid grid = new Grid<>(); try { List entries = reader.readAll(); // Assume the…
schaphekar
  • 495
  • 1
  • 5
  • 18
1
2 3
28 29