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 run a vaadin8 war from command line?

I am web-development noob and use vaadin 8 for an application and gradle to build the war-file. How can I run the apllication file from command line? I tried this without success: java -cp root.war my.namespace.RootServlet The class is not found.
Chriss
  • 5,157
  • 7
  • 41
  • 75
0
votes
1 answer

Maven Build Error - Firefly Plugin - No plugin found

I have tried several methods to resolve this issue. I am trying to install the Vaadin Starter App "Bakery" Version using : Java, Shiro, Vaadin Platforms. Error on build failure: No plugin found for prefix 'firefly' in the current project and in the…
0
votes
1 answer

How export grid to excel in vaadin?

I use vaadin in my project, and i cant understend how export grid to excel. I have: Grid gridVlr = new Grid<>("Vlrs"); gridBank.setItems(VlrList); // i used…
0
votes
1 answer

Vaadin expand ratio for Label with potentially empty value

In one of our pages I've created a detail screen with some information divided in blocks. I've used HorizontalLayouts with setExpandRatio for this. Here is how this is divided (all values made black for privacy reasons): The final Label of the…
Kevin Cruijssen
  • 9,153
  • 9
  • 61
  • 135
0
votes
1 answer

Vaadin OSGi Portlet on Liferay 7

I'm trying to create a Vaadin protlet and deploy it on a liferay portal with OSGI. I'm new to this so sorry if its very simple but I don't understand what I'm missing. OSGi Portlets on Liferay 7 is the tutorial that I found in Vaadin's…
Navid
  • 157
  • 2
  • 2
  • 14
0
votes
1 answer

Vaadin Grid vs. Persistence when displaying boolean as Icon

I have an Entity which is persisted and which provides data for rows in a Vaadin Grid. This part works. I now want to display a boolean value as an Image. For this I added a getter to the entity. This part only works when the record has been…
Adder
  • 5,708
  • 1
  • 28
  • 56
0
votes
1 answer

Vaadin8 grid nested property error

I'm trying to create a grid with a nested property. But I can not find a way to show nested property field in grid column. private Component buildGrid() { branchGrid = new Grid<>(Branch.class); …
stephan
  • 271
  • 1
  • 4
  • 24
0
votes
2 answers

Displaying query results on a web page - Vaadin

I'm developing a web app of an e-commerce and I'm stuck on how to display products. I have all the products resulting from a query in an ArrayList, but I don't know how to display them. I was thinking about using a table-like rectangle for…
Pleasant94
  • 471
  • 2
  • 8
  • 21
0
votes
1 answer

Vaadin 8 Issue with using multiple binders on one form

I am facing an issue while binding multiple java objects on a single form in Vaadin 8. I am not sure what I am missing here in the code. Below is my code snippet: public Component getSiteForm(SiteRequest requestData, LocationRequest locationRequest,…
nikhil1265
  • 77
  • 2
  • 12
0
votes
3 answers

How to identify selected tab in SelectedTabChangeListener?

I want perform specific action when user selects one of the tabs. final TabSheet tabs = new TabSheet(); tabs.addTab(a, "a"); The following code always outputs null: tabs.addTab(b,…
Hex
  • 242
  • 6
  • 21
0
votes
1 answer

How to set width for Vaadin Label with empty string

According to the documentation if you have an empty Label (a Label with an empty string) the width will collapse to 0. That being said the documentation also says: "If you want a gap that has adjustable width or height, you can use an empty label if…
Stephane Grenier
  • 15,527
  • 38
  • 117
  • 192
0
votes
1 answer

Vaadin 8.1 SCSS error by default: "Cannot resolve directory 'valo'" & "Error:(1, 18) Cannot resolve file 'valo.scss'"

In a Vaadin 8.1.5 app created with the Maven archetype named vaadin-archetype-widget where I briefly the file in the demo app module > src > main > webapp > VAADIN > themes > demo > styles.scss, I get these errors reported by IntelliJ…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
0
votes
1 answer

Form validation with Binder

How to finish validation with sending all form data in Vaadin 8? Unfortunetly I dont understand binder concept :( I wrote a field validation but what now? It works. My user see when I demand that he fill out a field but is there any easy way to…
Anna K
  • 1,666
  • 4
  • 23
  • 47
0
votes
1 answer

Vaadin float field (from the String field Validation)

I tried to create a float field in Vaadin from String field (I dont know any other method ;) I have a validation which should allow me that a String field will be just a float field. I found only a solution for an integer? How to asure that my user…
Anna K
  • 1,666
  • 4
  • 23
  • 47
0
votes
1 answer

How to write vaadin dynamic grid

Does anybody know how to build a dynamic vaadin grid like here: https://cdn.vaadin.com/vaadin-grid/2.0.0-alpha3/demo/data.html#dynamic-height It is strange because I have never seen that vaadin allow to write code as it is in the link above. Where…
Anna K
  • 1,666
  • 4
  • 23
  • 47