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

How to save uploaded file

I would like to know how to get a file from a Vaadin Upload Component. Here is the example on the Vaadin Website but it does not include how to save it other than something about OutputStreams. Help!
Auscyber
  • 72
  • 1
  • 2
  • 13
0
votes
0 answers

Vaadin HybridMenu shift with scrollpanel

I want to add scrollbar to my web app so I can see every components on my browser. Red rectangle in picture below is Grid. Grid is placed inside class that extends VerticalLayout and implements View. Green color shows my scrollbar which is added to…
Dawid Fieluba
  • 1,271
  • 14
  • 34
0
votes
1 answer

Vaadin: Remove caption from menu item

i have a menu bar with some items.i want each item to display only it's icon.so how can i remove caption from each item? this is what i have: MenuBar actionBar = new…
HoseinPanahi
  • 582
  • 2
  • 8
  • 18
0
votes
1 answer

Vaadin Menu Bar, space between caption and icon for an item

I have a menu bar with some items. Each item has a caption and icon. Problem is that the caption and icon are very close to each other. Here it is: How can I set some space between caption and icon? This is my simple code: MenuBar menuBar = new…
HoseinPanahi
  • 582
  • 2
  • 8
  • 18
0
votes
1 answer

How to filter Vaadin grid as default

Hi I'm trying to write a grid filter in Vaadin framework. My aim is that a user has a combo box with dropdown list and can choose that he wants to see only entries from 3, 6, 9 weeks ago. I wrote it but I have a problem becasue it doesnt work as…
Anna K
  • 1,666
  • 4
  • 23
  • 47
0
votes
0 answers

Multi-select in Vaadin Grid is not correctly selecting items in Grid

I'm using the same code in two grids and in one table SelectionMode.MULTI works as expected but in the other grid right after I select it (I can see the selection appear) within the blink of an eye the row is unselected. If I bring it back to…
Stephane Grenier
  • 15,527
  • 38
  • 117
  • 192
0
votes
0 answers

Vaadin slider set alphabets instead of Numbers

How could I set alphabets instead of numbers in Vaadin 8 slider. As it has a method setValue which only accepts arguments as double number.If any other way, please let me know.
kushal Baldev
  • 729
  • 1
  • 14
  • 37
0
votes
1 answer

Set the renderer for a Vaadin 8.1 Grid column?

In Vaadin 8.1, the Grid API doc shows that we can pass a renderer as part of the column definition when calling addColumn. But I do not see any setter methods for changing the renderer. Is there any way to change the renderer on a column in the Grid…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
0
votes
1 answer

How to validate a TextField in a Vaadin 8 Form

I have a system that I want to migrate to vaadin 8. I wanted to request for assistance on how to validate a TextField based on regular expressions. I have code that works for Vaadin 7 but not Vaadin 8 which could further explain what I am asking. A…
0
votes
1 answer

How to Get Directory and filename from User for vaadin download

.hi. I am trying to download a file from vaadin server. i found FileDownloaderFileDownloader(StreamResource resource , String fileName) that i can use for my purpose. But I'm looking for a way to get the directory and filename from client…
HoseinPanahi
  • 582
  • 2
  • 8
  • 18
0
votes
1 answer

Error using Gradle Vaadin Plugin

I am trying to add Gradle Vaadin Plugin to my project, but I get the below error. Errors in…
turgos
  • 1,464
  • 1
  • 17
  • 28
0
votes
1 answer

Remove series from vaadin chart 4.0.0

I want to change number of ListSeries to draw chart on button click. I am using Vaadin 8.0.1 with Vaadin chart 4.0.0 and Java 8. Class contains implementation of chart. package v8.v8; import java.util.List; import…
Uttam Kasundara
  • 237
  • 3
  • 13
0
votes
1 answer

Java, Vaadin 8, lazy loading with grid

I am trying to implement lazy loading with Grid in Vaadin 8. But it only shows an empty table. What do I do wrong? Also, how do I set the number of items to load (limit) to for example 20 items (the default is 40 items)? private Grid
user3832429
0
votes
1 answer

ClassCastException: ServletRequestHandledEvent cannot be cast to WebServerInitializedEvent

I am having Spring-Boot w Vaadin project where I had to define some Spring-MVC REST controllers. While using Vaadin UI all is working fine. But when I invoke any of the REST controllers functionality wise all seems working but I can see in logs…
0
votes
2 answers

Embedding Vaadin + Springboot application into a Vaadin UI using Emdedded UI add-on

I am currently working on microservices using springboot and Vaadin 8, and I want to use Embedded UI 2.0 add-on for Vaadin. I first tried embedding a simple Springboot + Vaadin into a host Vaadin application as shown in the example. Here's the…
zelha
  • 3
  • 4