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
0
votes
1 answer
Using Custom Exception Handler with Vaadin23
I am trying to setup a global exception handler in my application.
When I trigger a NullpointerException by clicking a button for example, only the DefaultErrorHandler interacts with it and prints the stacktrace to my console.
What am I doing…

Kocht
- 1
- 2
0
votes
1 answer
Create my own icons from png files in vaadin 23
I have couple .png files and I need to create icons for the button.
Initially it will be a first image and when button is clicked and action is successful, the image shall be replaced with the second one.
What I can see, you can create only…

Gary Greenberg
- 468
- 1
- 9
- 22
0
votes
0 answers
Component alignment in Vaadin 23
I have a HorizontalLayout in my view. Inside it I have two components - Div and Button.
I need Div to be aligned in the CENTER and Button aligned at END.
It used to be setComponentAlignment() method, but it does not longer exist in v.23
If anyone…

Gary Greenberg
- 468
- 1
- 9
- 22
0
votes
0 answers
Vaadin 23 set ComboBox popup window min height
I noticed that when ComboBox is really close to the page bottom part but still have some small space, the ComboBox element is trying to open its popup with minimal height and scrollbar, instead of open the popup window above to the top. How to…

alexanoid
- 24,051
- 54
- 210
- 410
0
votes
1 answer
Vaadin23 IntegerField disable value change on mouse scroll button
Is it possible to disable the value change effect on the mouse scroll for the IntegerField component? If so, could you please show me how it is possible?

alexanoid
- 24,051
- 54
- 210
- 410
0
votes
0 answers
Vaadin23 refresh/re-render Grid column row on demand
I use Grid component with 1 column and have a lot of information in such column in each row. Also, I use Grid Details and show specific form there. After the user action in the form, I need to refresh/re-render the Grid row in order to reflect the…

alexanoid
- 24,051
- 54
- 210
- 410
0
votes
1 answer
Vaadin 23 Confirm Dialog free or not
ConfirmDialog is not marked as commercial feature any more https://vaadin.com/docs/latest/components/confirm-dialog but Vaadin 23.1.7 still shows the Commercial warning message.
So ConfirmDialog is free or not?

alexanoid
- 24,051
- 54
- 210
- 410
0
votes
0 answers
Vaadin23 add YouTube video to the page
I'm trying to add a YouTube video to a page:
IFrame iFrame = new IFrame("https://www.youtube.com/watch?v=sLTvQnjEkRU");
iFrame.setHeight("315px");
iFrame.setWidth("560px");
iFrame.setAllow("accelerometer; autoplay; encrypted-media;…

alexanoid
- 24,051
- 54
- 210
- 410
0
votes
3 answers
How do I style a ComboBox element with CSS?
How should I style the items within a combo box when it is dropped down. I am currently using vaadin-time-picker on Svelte, but as this contains a combo box my question still remains.
I have tried many things in CSS but have got no luck. What I want…

BigJamo
- 23
- 5
0
votes
1 answer
Vaadin23 route navigation with parameters
I have the following route:
@Route(value = "jobs/:jobId", layout = JobsLayout.class)
@AnonymousAllowed
public class ViewJob extends VerticalLayout implements BeforeEnterObserver, HasUrlParameter {
When I access the application by the…

alexanoid
- 24,051
- 54
- 210
- 410
0
votes
1 answer
Vaadin 23: maven versions of vaadin-core vs. flow-server differ
Observation (at 2022-08-13 20:06):
In a BOM of Vaadin 23.1.6 ( https://repo1.maven.org/maven2/com/vaadin/vaadin-spring-bom/23.1.6/vaadin-spring-bom-23.1.6.pom ) there is a dependency to a version 23.1.4: 23.1.4
When I…

S. Doe
- 685
- 1
- 6
- 25
0
votes
1 answer
How do I display the indeterminate spinner ProgressBar in Vaadin Flow?
Below is the code to display an indeterminate ProgressBar in Vaadin Flow (version 23):
ProgressBar spinner = new ProgressBar();
spinner.setIndeterminate(true);
spinner.setVisible(true);
The only thing is that this now seems to create a ProgressBar…

Stephane Grenier
- 15,527
- 38
- 117
- 192
0
votes
2 answers
Is there a way to define variables for paths inside the HTML code in a typesricpt file?
To design the frontend we use the vaadin designer. In the .ts files of our project we have some images where we want to define variables for the path.
at the moment it is like that:


Somma
- 27
- 5
0
votes
1 answer
Vaadin 23 Grid with details and scroll into the view
I added Details to the Grid compoenent. Each time I click on Grid row - the details expand.
For example I clicked on the first Grid row which have long Details content. Everything fine so far. But when I scroll down to the row #2 and cliked on it,…

alexanoid
- 24,051
- 54
- 210
- 410
0
votes
1 answer
Vaadin 23 change browser url based on button click in the application
Based on the button click in Vaadin application, I'd like to change the browser URL value. I'd like to add some GET parameters to the URL. Please advise how to implement this with Vaadin 23.

alexanoid
- 24,051
- 54
- 210
- 410