vaadin Questions

2

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.Column>)grid.getColumns()...
Zoophyte asked 18/8, 2021 at 16:51

1

Solved

Recently our vaadin production build has started failing and I'm too much of a node noob to figure out if this is a local problem or if it is related to vaadin 20. When I switch back to vaadin 19 t...
Driven asked 6/8, 2021 at 11:58

0

Any thoughts on why when releasing a new Vaadin / Spring-Boot app in production, Vaadin will not render the custom css in frontend directory although it does in debug mode? The app is built for pro...
Hygiene asked 21/7, 2021 at 7:51

1

Solved

I am using Vaadin 20 Flow (Java) and want to assign an icon/image (.ico or .png) to my web app. This icon should be displayed besides the page title and should be used as an icon when the page is b...
Possible asked 13/6, 2021 at 17:3

1

I have a LoginView which I basically copied from the bakery starter project. When I run the bakery app and try to login with wrong credentials, there appears an additional div with an error messag...
Sawyer asked 7/2, 2019 at 9:32

3

Solved

I followed the Vaadin tutorial (Creating Collaborative Views) for broadcasting events and register on them. Registration eventRegistration; @Override protected void onAttach(AttachEvent attachEven...
Juggle asked 26/5, 2021 at 9:52

1

Solved

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 b...
Witch asked 13/5, 2021 at 20:3

2

Solved

I have a Grid in my Vaadin 8 application and sometimes the Grid's scrollbars appear when they aren't needed or disappear when they shouldn't. They can even get stuck in a loop. My Grid has five col...
Mertiemerton asked 10/5, 2021 at 16:29

1

Is it possible to get current (on client side) div width after the user has stopped resizing the Vaadin Split Layout with drag and drop? Something like this? splitLayout.addSplitterDragendListener(...
Ashaashamed asked 9/5, 2021 at 21:36

2

Solved

I want to align the Button on the same line as the Text Fields. The item alignment has been set to Alignment.CENTER, but as you can see from the image, the vertical centers of the TextFields are lo...
Mincing asked 8/5, 2021 at 6:18

5

I have been working fine with Vaadin + Gradle + IntelliJ until yesterday night when I introduced SLF4J(logback) logging to my application. Since then I can't make my project anymore due to classDef...
Borlow asked 16/1, 2015 at 7:7

1

Solved

I'm using Vaadin 14 with Vaadin CRUD AddOns and it seems that my validation does not work for me. If I open my CRUD view and look at these two fields. They are empty strings e.g null. I'm suppose t...
Spanish asked 12/4, 2021 at 17:6

3

Solved

How do you include your own icons in Vaadin Flow? Do you make an HTML file like this one from Vaadin Icons and include it via @HtmlImport("frontend://path/to/your/icons.html") I did not find any...
Yearbook asked 31/8, 2018 at 6:56

2

Solved

Is there a way in vaadin to scroll or jump to a certain point (e.g. a Label) inside a view (e.g. a Panel)when a button or link component is clicked? Similar to the anchors functionality on a websit...
Arch asked 13/1, 2016 at 22:27

2

Solved

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/mai...
Detestable asked 22/9, 2020 at 12:13

3

Sorry for asking such a basic question, I have just come across Vaadin, it looks like a interesting way of creating web applications. I am very out of date of what the state of the art is the...
Epictetus asked 4/4, 2014 at 9:25

3

Solved

I want to display my radio buttons in 1 line such as: ◎ Option1     ◉ Option2 However with Vaadin I cannot accomplish this it seems like the following, ◎ Option1 ◉ Option2 here is my code: fina...
Tripura asked 29/7, 2010 at 7:29

1

Solved

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.
Apocalypse asked 28/5, 2020 at 9:34

1

Solved

with Vaadin 14.1.23 TextFields I would like to differentiate visually between red error messages (e.g. "This value is too big.") and yellow warnings (e.g. "System will round your input to two decim...
Thermolabile asked 4/4, 2020 at 16:3

1

Solved

Suppose I have a Grid<Person> and some person.getStatus() which returns an Enum enum Status { SINGLE, MARRIED, DIVORCED } I'd like to color the grid's column according to this enum's value...
Breakfast asked 29/2, 2020 at 11:4

1

Solved

we are using Vaadin 14. Which folders in the project should we commit to the Version-Control? The folder node_modules is very large which is very time consuming, should we commit this?
Implacental asked 25/2, 2020 at 14:25

1

Solved

The release notes for Vaadin 13 includes an item for Lumo compact mode. The mention there is brief, lacking details. To quote: The compact theme/preset defines values for the sizing and spacing ...
Bilbe asked 22/2, 2020 at 2:59

4

Solved

I need a ComboBox without this clear button. It confuses the users. I believe in Vaadin 8 it could be removed with setEmptySelectionAllowed(true);. How can it be removed in vaadin 10? setAllowCu...
Contrabass asked 1/8, 2018 at 13:30

1

In Vaadin Flow, such as version 14.1, how can I get the IP address of the user’s web browser through a Java call on the server-side? Like the Question, Get user’s IP address, and other client-side...
Takara asked 4/2, 2020 at 23:3

3

Solved

Problem: I currently have a grid that displays content of type SomeModel. When I click an entry of that Grid I would like to navigate to a view that takes an object as its input to display the ent...
Azores asked 30/1, 2019 at 14:20

© 2022 - 2024 — McMap. All rights reserved.