Questions tagged [vaadin7]

Vaadin 7 is a legacy version of Vaadin, an open-source Java web application framework. EOL Feb 2019, extended maintenance commercially available until Feb 2029.

Vaadin 7 is a legacy version of Vaadin, an open-source Java web application framework. Free support for Vaadin 7 ended in February 2019, extended maintenance commercially available until February 2029.

Last free release: 7.7.17 (2019-03-11) (Release Notes)

1418 questions
50
votes
4 answers

webxml attribute is required with Servlet 3.0

I get this error when trying to compile a Vaadin WAR: Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project testvaadin-web: Error assembling WAR: webxml attribute is required (or pre-existing…
Roger
  • 2,684
  • 4
  • 36
  • 51
30
votes
2 answers

Vaadin 7: Usage of UI vs. Navigator+Views

In Vaadin 7, a web application can have multiple entry points; the UIs. Each UI can only have a single Navigator containing Views. We are working on an application which requires multi-level navigation, and for some screens we don't know if we…
cporte
  • 2,191
  • 3
  • 20
  • 30
19
votes
4 answers

Vaadin Grid vs Table

What is the difference between the Grid and Table components in Vaadin 7? Which should I use, and when?
Daniel Hári
  • 7,254
  • 5
  • 39
  • 54
15
votes
2 answers

Minimal example of Push in Vaadin 7 app ("@Push")

I want to see the most minimal example of using the new Push technology in Vaadin 7, such as the new @Push annotation. I am having problems getting server-push to work in my app. I would like to try a simple example app before trying to fix my own…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
15
votes
2 answers

Create Sidebar or Vertical Menu in Vaadin

How can I create a VerticalMenu or Sidebar in Vaadin? Is there any specific component or Have I do programatically and using CSS? I would like to create something like Vaadin Demo: I'm using the new Valo Theme.
Rafa Romero
  • 2,667
  • 5
  • 25
  • 51
14
votes
2 answers

Scale down the Valo theme’s spacing and widget size to that of the Reindeer theme

The new Valo theme is now the default in Vaadin 7.3 apps. This theme renders visually with widgets (buttons, fields, and so on) that are dramatically larger (wider and taller) than in the previous default Reindeer theme. This kind of look is now…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
14
votes
4 answers

How can I compile only necessary widgets in Vaadin 7 with Maven?

I am new to the Vaadin framework which I looks very interesting, using eclipse and maven to develop and build my application I find pretty annoying that every time I do a mvn clean install it will take so long time to build the app, I found that…
raspacorp
  • 5,037
  • 11
  • 39
  • 51
13
votes
2 answers

How to start a file download in vaadin without button?

I know that it is really easy to create a FileDownloader and call extend with a Button. But how do I start a download without the Button? In my specific situation right now I have a ComboBox and the file I'd like to send to the user is generated…
raffael
  • 2,427
  • 4
  • 26
  • 42
12
votes
3 answers

How to specify a button to open an URL?

I want to write a web application that triggers the default email client of the user to send an email. Thus, I created a Link, that leads to an URL conforming to the mailto URI scheme (http://en.wikipedia.org/wiki/Mailto): Link emailLink = new…
Claas Wilke
  • 1,951
  • 1
  • 18
  • 29
12
votes
2 answers

Vaadin 7 - Good framework but not for my project

Vaadin is a wonderful framework, It is very useful to develop colorful web apps. However, I'm totally frustrated by some unexpected things happening in it. I know it is hard to create such a framework where client and server side components can be…
Gugan
  • 1,625
  • 2
  • 27
  • 65
11
votes
3 answers

Vaadin: How to add META-INF/services to the war?

I have a Vaadin 7 maven web project that has some annotations that create service definition on META-INF/services. I added this to the pom so the annotations are processed:
javydreamercsw
  • 5,363
  • 13
  • 61
  • 106
11
votes
2 answers

Spring Boot Security with Vaadin Login

I try to build an application based on Spring Boot (1.2.7.RELEASE) and Vaadin (7.6.3). My problem is that I'm not able to integrate Spring Security with Vaadin. I want a custom Vaadin built LoginScreen and Spring Security control. My project setup…
J. S.
  • 2,268
  • 1
  • 12
  • 27
10
votes
5 answers

Vaadin - Refresh grid after row modification

I create simple grid with data from database: BeanItemContainer container = new BeanItemContainer<>(Customer.class, customerRepository.findAll()); Grid grid = new Grid(container); To edit each row the button was created: Button edit = new…
jsosnowski
  • 1,560
  • 3
  • 26
  • 56
10
votes
1 answer

How to access `ServletContext` from within a Vaadin 7 app?

How do I access the current ServletContext from within my Vaadin 7 app? I want to use the ServletContext object’s setAttribute, getAttribute, removeAttribute, and getAttributeNames methods to manage some global state for my Vaadin app. Also, if…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
10
votes
4 answers

Vaadin : How to change favicon?

How can I change favicon of my pages in Vaadin ? I would like to change favicon of my pages but I have no idea where is the place to change it ? Has somebody experience on it ?
Cataclysm
  • 7,592
  • 21
  • 74
  • 123
1
2 3
94 95