Use this tag for version-specific questions about Vaadin 23 - the open-source platform for web application development. When using this tag, also include the more generic [vaadin] and [vaadin-flow] tags where applicable. Vaadin 23 superseded Vaadin 14 in March 2022.
Questions tagged [vaadin23]
191 questions
1
vote
1 answer
Vaadin - adding columns to grid from map
I want to show data in vaadin's grid, but I want to create columns dynamically for each value from customAttributes list. My data model more or less look like this
Item
name: String
localization: Localization
visible: Boolean
…

foxbuur
- 169
- 1
- 9
1
vote
1 answer
Vaadin 23: different themes for different deliveries
https://vaadin.com/docs/latest/ds/customization/custom-theme describes how to use a custom theme in Vaadin 23. The current theme is selected by writing its name into the Theme annotation like this: @Theme("my-theme").
The system I'm currently…

S. Doe
- 685
- 1
- 6
- 25
1
vote
1 answer
How to I get the scrollbar on the VerticalLayout rather than the HorizontalLayout in Vaadin Flow
This is using the Vaadin starter project Hello World example. In essence I want to have the scrollbar in the VerticalLayout on the left rather than on the whole page as shown in the image below:
However no matter what I do the scrollbar always…

Stephane Grenier
- 15,527
- 38
- 117
- 192
1
vote
1 answer
How do I increase the maximum number of Markers in Vaadin Maps?
In Vaadin Maps (Vaadin 23) I'm finding that only a certain number of markers are displayed on the map. How do I for example show up to say 500 markers (as in 500 locations in the code below)?
locations.stream().forEach(location -> {
…

Stephane Grenier
- 15,527
- 38
- 117
- 192
1
vote
1 answer
How do I set the language in Vaadin Maps
The examples all seem to use the countries primary language when rendering the maps which is cool but is challenging when I'm looking at countries written in languages I'm not familiar with. With that in mind how I can setup the map view to show all…

Stephane Grenier
- 15,527
- 38
- 117
- 192
0
votes
1 answer
How to get the selection column from a vaadin-gird in vaadin 23?
I'm using an ItemClickListener on my grid and also multi select mode. Problem is if you click slightly, next to the selection checkbox the click event is fired and all selections are deleted.
My Idea to work around this is to check if the event was…

mathis_dukatz
- 57
- 6
0
votes
0 answers
Vaadin 23 all grids refreshing after changing UI
I found out a strange behavior of the grid component. I have app with multiple tabs in each tab can be multiple grids, sometimes i handle some errors by showing dialog in addColumn method.
I found out that every created grid are refreshing each time…

Miłosz Bąbliński
- 169
- 8
0
votes
1 answer
How to listen to a client-side click event on an element that has no server-side representation in Vaadin?
In my Vaadin application, there are client-side span-elements that do not have a server-side representation through components. These elements are generated by a component from the Vaadin Directory.
For my use case, I need to listen to the user…

Ardenian
- 25
- 6
0
votes
1 answer
Spring RequestMapping returning auto generated vaadin html page
I have set up a Rest Controller in a simple vaadin application, it has a very basic request mapping of type Post, when hitting the endoint it should print to the log some text. However when hitting the endpoint from postman I receive a 200 ok and in…

Tom Milton
- 9
- 2
0
votes
1 answer
How to add Rest API endpoint in Vaadin application running with Quarkus
I have Vaadin v23.x on Quarkus application forked from: https://github.com/vaadin/base-starter-flow-quarkus/
I need to have a simple API endpoint as well
@Path("/hello")
public class GreetingResource {
@GET
@Produces(MediaType.TEXT_PLAIN)
…

Mindaugas Jaraminas
- 3,261
- 2
- 24
- 37
0
votes
1 answer
Cannot resize the grid in my Vaadin application
My Vaadin application contains just 2 parts
Horizontal layout containing banner and several buttons;
Vertical layout with a grid.
It is working as expected (mostly) but my problem that grid, containing over 2000 rows displays only three rows…

Gary Greenberg
- 468
- 1
- 9
- 22
0
votes
1 answer
Serialization issues with Vaadin on Tomcat
I deployed my Vaadin application on Tomcat and it is from time to time throwing the following exception:
28-Mar-2023 21:33:32.448 WARNING [http-nio-8080-exec-48] org.apache.catalina.session.StandardSession.doWriteObject Cannot serialize session…

Gary Greenberg
- 468
- 1
- 9
- 22
0
votes
0 answers
Vaadin unordered list display:inline style isn't working
I have an unordered list in my Vaadin application and I need to display its content in a single line. In plain old HTML I used to specify display: inline in the style section. I tried to do that in Vaadin with the code:
UnorderedList tagList…

Gary Greenberg
- 468
- 1
- 9
- 22
0
votes
1 answer
How to make a tip showed up while hovering over list item in Vaadin 23
I have the following code in my Vaadin application:
public class TitleRenderer extends ComponentRenderer {
@Override
public Component createComponent(Book book) {
VerticalLayout layout = new…

Gary Greenberg
- 468
- 1
- 9
- 22
0
votes
0 answers
Refreshing Vaadin grid row after context menu closed
I have a Grid in my Vaadin application and a ContextMenu associated with it. Menu items allow to edit or delete rows in the grid. Events from those menu items open dialog panels to perform requested actions. It is all working as expected and changes…

Gary Greenberg
- 468
- 1
- 9
- 22