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

Why Vaadin 8 ComboBox is adding extra empty item

Why there is an empty item added in the ComboBox? How to get only 2 items? No extra empty item. ComboBox typeSelect = new ComboBox<>(); typeSelect.setId("portfolioGroupTypeSelect"); typeSelect.setItems(GroupType.PortfolioGroup,…
masiboo
  • 4,537
  • 9
  • 75
  • 136
0
votes
2 answers

How to make UI receive scroll events

In my vaadin application I need to implement a fixed header, that changes size depending on the scroll position of the UI. While there are geters for scroll position in Vaadin 8, there seems to be no functionallity implemented to listen for scroll…
Chris
  • 13
  • 2
0
votes
1 answer

Append ellipsis when text in a TextField is not completely displayed, Vaadin 8 & 10

When a TextField cannot display all the text of its contents, I would like an ellipsis (… HORIZONTAL ELLIPSIS) to appear as the last character displayed to indicate to the user that some of the field contents is not visible. Actually, any kind of…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
0
votes
1 answer

What purpose is served by the `SerializableFunction` interface defined in Vaadin 8 if we can simply pass a regular Lambda expression in its place?

Vaadin 8 defines a functional interface, SerializableFunction. This interface appears in various places. For example, when defining a Converter for displaying non-textual types in a TextField such as a…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
0
votes
1 answer

add a new listener to the OLMap of v-ol3 (Openlayers4)

there is a method in the OLMap class of v-ol3(vaadin-Openlayers4) as : map.addClickListener(new OLMap.ClickListener() { @Override public void onClick(OLClickEvent clickEvent) { //calling some method to execute when we click on the map }…
RamanaMuttana
  • 481
  • 6
  • 22
0
votes
2 answers

Provide a Converter for data-binding by defining a pair of SerializableFunction objects

In Vaadin 8 Framework, and Vaadin 10 Flow, the data-binding capability lets us provide a Converter to mediate between the widget’s expected data type (such as String for a TextField) and the data type of the backing bean property (such as Integer…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
0
votes
1 answer

How to get access UI thread from child thread in Vaadin 8

I have used Vaadin 7 before. There I could access UI thread from my child thread by using following code: UI.getCurrent().access(() -> { status.setVisible(true); }); But currently, I am migrating from Vaadin 7 to Vaadin 8. In Vaadin…
masiboo
  • 4,537
  • 9
  • 75
  • 136
0
votes
2 answers

Vaadin 8: Create forms from Java beans

I am looking for a library similar to MetaWidget which can derive an application form from a bean and vice versa for Vaadin 8. MetaWidget is on the state of Vaadin 6 and a little complicated to use. If there isn't any library then I consider to…
MarZa
  • 3
  • 2
0
votes
2 answers

ComboBox not editable after data binding

Google-fu revealed nothing, Stackoverflow search revealed similar issues bot not exact to my case. Boy do I ask a lot of questions on here. This is not an exam question, a homework question, or a project for school or the like. So please don't…
mlizbeth
  • 303
  • 3
  • 18
0
votes
1 answer

How to validate Vaadin 8 PasswordField?

In Vaadin 7 I have PasswordField and following code:- PasswordField passwordField = new PasswordField((String) processConfig.get("name")); passwordField.setWidth("100%"); passwordField.addValidator(new RegexpValidator("[^\\s]*", "Whitespace…
masiboo
  • 4,537
  • 9
  • 75
  • 136
0
votes
1 answer

Vaadin: v-leaflet-editable: PolygonField: redrawing Polygons

I tried different versions of v-leaflet-editable (Vaadin). I am using PolygonField. I can draw a polygon okay but when I try to redraw the polygon I get an error. With each Version of v-leaflet-editable I get a different error. code Component…
user5354385
0
votes
1 answer

CDI Event does not Work with com.vaadin.cdi.ViewScoped

I'm currently playing around with Vaadin 8.4.2 + CDI. I got a simple view with a simple model class Person that has 2 Properties (lastname and firstname). I have a simple View (GreetPersonView) and a @ViewScopedcomponent (MessageDisplay) that is…
Patrick Zinner
  • 356
  • 4
  • 17
0
votes
0 answers

Clicking button in Vaadin application has no effect with Selenium WebDriver

I'd like to interact with a Vaadin application (Vaadin 8) using WebDriver. The login form is wrapped using the PageObject pattern. @Test public void login() { driver.get("http://localhost:8080/intern/login"); LoginPage loginPage = new…
Robert Strauch
  • 12,055
  • 24
  • 120
  • 192
0
votes
0 answers

Vaadin Horizontal MenuBar with Image

Using Vaadin 8 to develop simple application with horizontal menubar on top and grid in the center. I am finding it hard to get a simple Horizontal Menu bar with icon. I am using the default CRUD View example with some modification and here is the…
SDS
  • 457
  • 5
  • 17
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