Questions tagged [vaadin-spring-boot]

28 questions
5
votes
3 answers

How to create file on server with file path relative to application?

In my Vaadin spring boot application, I need to upload files to the server and save them there. Uploading files locally to my desktop works fine, But I want to deploy the application to a server, so I want to save the uploaded files in a directory…
steady_progress
  • 3,311
  • 10
  • 31
  • 62
5
votes
1 answer

images not accessible by Vaadin Spring Application

In the example given here: https://vaadin.com/docs/framework/application/application-resources.html the images-folder is put inside the WEB-INF directory of the application. In my Vaadin Spring application, I do not have a WEB-INF directory, so I…
steady_progress
  • 3,311
  • 10
  • 31
  • 62
4
votes
1 answer

What happened to VaadinWebSecurityConfigurerAdapter in Vaadin 19?

We are building a web app with Vaadin 19 Fusion, and I'm following this tutorial: https://vaadin.com/docs/latest/fusion/security/spring-login (I have selected the V19+ Docs and then Fusion) In the tutorial there is a reference to…
Rasmus Nielsen
  • 411
  • 1
  • 4
  • 18
2
votes
0 answers

Vaadin Grid Custom Renderer not working

I want to build a custom renderer for some of my grids columns to hide the text if the user doesn't have the right to read it. It's still important that the data is accessible even if the user is not able to read it. So I wrote a custom renderer…
Fabian
  • 237
  • 3
  • 13
2
votes
2 answers

Spring boot @Autowired Annotation not working when deploying on Tomcat

@Autowired gives null when deploying my spring boot app packaged as war on tomcat however it works fine when using the embedded tomcat of spring boot. Any help please ?
2
votes
1 answer

Remove (vaadin) servlet statement in Spring hateos link

I have a spring-boot project that provides a @RestController and a vaadin @SpringUI. Accessing the vaadin ui is possible through url: http://localhost:8080/ Through ui users create devices. This device creation is done by invoking my…
Charmin
  • 711
  • 20
  • 30
2
votes
2 answers

Inject vaadin @UIScope bean in spring @Component

I am using Vaadin Spring 1.0.0 and trying to figure out how could I inject beans that are available only within UI scope (when the user has the page opened) into classic spring @Component beans. Simple, let's have classes: @Component public class A…
Mejmo
  • 2,363
  • 9
  • 35
  • 54
2
votes
1 answer

Custom servlet in Vaadin + Spring Boot

I'm trying to reproduce a simplified version of the official Vaadin Dashboard Demo, but I'm using Spring Boot for managing dependencies. In DashboardServlet.java file you will find this code: public class DashboardServlet extends VaadinServlet { …
Pavel Bastov
  • 6,911
  • 7
  • 39
  • 48
1
vote
1 answer

How do I exclude certain Vaadin views from authentication?

I want to make a couple of Vaadin (v22) views accessible without a login, i.e. make them publicly available. I looked at this tutorial, which is probably outdated: https://vaadin.com/learn/tutorials/securing-your-app-with-spring-security There it…
Chris
  • 834
  • 1
  • 10
  • 23
1
vote
1 answer

How to correctly add Vaadin framework into my Spring Boot project?

I am trying to integrate what is done in this official Vaadin video tutorial (implement back end push notification) into my Spring Boot project. I am finding some problem trying to understand how to correctly integrate Vaadin framework into my…
AndreaNobili
  • 40,955
  • 107
  • 324
  • 596
1
vote
2 answers

"No auto configuration classes found in META-INF/spring.factories"

I developed a vaadin spring boot application in intellij idea. When trying to run the jar-file I keep getting the following error: "No auto configuration classes found in META-INF/spring.factories" Minimal example: Using SpringInitializr…
steady_progress
  • 3,311
  • 10
  • 31
  • 62
1
vote
0 answers

Vaadin-Grid not displaying the data from the database it is supposed to show

I am writing a Vaadin Spring application and have the problem that the data from the database are not showing in the Grid (= a Vaadin 8 UI-Component for displaying tables). I have a suspicion as to where the error may be located (see my remarks at…
steady_progress
  • 3,311
  • 10
  • 31
  • 62
1
vote
1 answer

Eclipse unaware of Maven Dependencies

I wanted to create a Vaadin Spring project. To this end I planned on following this tutorial: http://vaadin.github.io/spring-tutorial/ However, already at the beginning the weirdest thing happened. I used Spring Initializr to create the…
steady_progress
  • 3,311
  • 10
  • 31
  • 62
1
vote
1 answer

Vaadin - productionMode on Spring Boot customized Servlet

I'm trying to put my project in production mode, but no luck :( Everything appears to be fine on startup logs: 2017-01-09 09:26:24.453 INFO 80996 --- [ main] c.v.s.b.i.VaadinServletConfiguration : Registering Vaadin servlet 2017-01-09…
Dyorgio
  • 1,114
  • 13
  • 23
1
vote
2 answers

Set background image without css

I'm looking for a solution to set up background image without CSS knowledge and addition of css files. At this point, I rely on mighty powers of Vaadin. Obviously, the solution posted here is not appropriate for me, since I use a built-in ValoTheme…
Malakai
  • 3,011
  • 9
  • 35
  • 49
1
2