Questions tagged [vaadin4spring]

This add-on adds support for Vaadin to Spring and Spring Boot, or Spring support to Vaadin, depending on your point of view.

This add-on adds support for Vaadin to Spring and Spring Boot, or Spring support to Vaadin, depending on your point of view.

https://github.com/peholmst/vaadin4spring

79 questions
1
vote
1 answer

Spring boot vaadin static content

I'm using spring boot with vaadin. How should I serve VAADIN folder? I deploy to production using gradle distZip task, which creates a lib and a bin folder. I don't want to include VAADIN folder into the jar because it disables caching and makes a…
acsadam0404
  • 2,711
  • 1
  • 26
  • 36
1
vote
0 answers

Gradle exclude dependency from a task

I have a task "vaadinCompileWidgetset" which won't work if javax-validation-1.1 is on classpath (it depends on javax-validation-1.0). The problem is, my build depends on 1.1 so I can't exclude the artifact from the build. Is it possible to exclude…
acsadam0404
  • 2,711
  • 1
  • 26
  • 36
1
vote
1 answer

com.vaadin.ui.DateField - time section not editable after toggling read-only

I have a form with a DateField and I want to be able to toggle between read-only mode and non-read-only/edit mode. When the field is initially read-only and I switch to non-read-only then the time section of the calendar isn't editable/displayed…
Pieter
  • 2,745
  • 14
  • 17
1
vote
1 answer

What is the correct way of initializing Model at Vaadin4Spring MVP framework?

I see that presenter can initialize/define the view as @VaadinPresenter(viewName = "string name of the view") public class MyPresenter extends Presenter { ... } and access the view with getView(). I could not find any examples for…
turgos
  • 1,464
  • 1
  • 17
  • 28
1
vote
1 answer

Is it possible to run Spring Security from vaading4spring together with Vaadin Spring Boot?

Is it possible to run Spring Security from vaading4spring together with Vaadin Spring Boot? When I mix both at build.gradle as // Official VaadinSpring…
turgos
  • 1,464
  • 1
  • 17
  • 28
1
vote
1 answer

vaadin4spring security sample: failed to load widgetset

I am desperately trying to build a little Vaadin project with login secured pages/views. I have found vaadin4spring and thought I could start based on the security sample. However, after importing the project and running it, I am receiving the…
1
vote
1 answer

BeanCreationException Vaadin

I'm trying to integrate Spring Boot Vaadin (https://github.com/peholmst/vaadin4spring) with Vaadin's Dashboard Demo Code (https://github.com/vaadin/dashboard-demo). The only thing modification I made was add the annotation "@VaadinUI" in the…
caritos
  • 12,922
  • 2
  • 17
  • 15
1
vote
1 answer

How to get application instance from anywhere in Vaadin?

I do not create Application object explicitly and suppose Vaadin does it silently. How can I get a reference to it?
tmporaries
  • 1,523
  • 8
  • 25
  • 39
1
vote
1 answer

Approach for designing View in vaadin 7

I am newbie to vaadin. I have to develop PoC on vaadin. Service layer is already written using spring. As a part of Poc I have to develop a screen below. When request comes to my UI class, it will call my View using navigator. This view consists of…
Sudheer Kumar
  • 473
  • 1
  • 7
  • 21
1
vote
1 answer

Vaadin and Spring - @Autowired field is null

my last question was marked as duplicated, but answers not work for me :-( I have two classes in the same package and I need to find object from @Service and print result to log. package com.example.test.springvaadin.vaadin; import…
martin
  • 1,707
  • 6
  • 34
  • 62
0
votes
2 answers

Vaadin, Spring-Boot and Vaadin add-ons

In a Vaadin 8.0 project together with Spring boot, I am trying to use a Vaadin Add-on (WTPdfViewer, https://github.com/WhitesteinTechnologies/wt-pdf-viewer) for previewing PDF files. The problem I have is that when trying to view the PDF file, the…
user2465039
  • 894
  • 1
  • 11
  • 28
0
votes
1 answer

Vaadin - Spring Boot Application Not Compiling

I'm a Vaadin beginner. I tried to implement the code from a tutorial but my application could not compile. It's a simple spring boot application made up of three classes. The first class is the spring boot entry point, main class. The other two…
nkengbeza
  • 355
  • 5
  • 18
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
0
votes
1 answer

Vaadin 8. Resource cannot be resolved

I tried to add an overlay plugin. https://vaadin.com/directory/component/overlays I have a problem with image overlay. Im getting that error: The type com.vaadin.terminal.Resource cannot be resolved. It is indirectly referenced from required .class…
Anna K
  • 1,666
  • 4
  • 23
  • 47
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