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
9
votes
2 answers

How to add button in a Grid in Vaadin

Hi Im try to add button in a grid in vaadin but it print the reference on button object. Grid statementEnquiriesList = new Grid(); statementEnquiriesList.addColumn("", Button.class); statementEnquiriesList.addColumn("DATE/TIME",…
herman shafiq
  • 499
  • 2
  • 8
  • 26
9
votes
2 answers

Immediately select row by Arrow key in Vaadin 7 Grid

In Vaadin 7.5.3, the Grid widget responds to the user pressing the Up (↑) or Down (↓) arrow keys by moving a highlight box around a single cell. If the user then takes a second action, pressing the SpaceBar key, the row becomes selection. I am…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
9
votes
3 answers

How to get the Vaadin 7 application server IP and port?

How can I get the protocol, IP and port of the app server running my Vaadin webapp? I'm using Vaadin 7. In vaadin 6 I doing in this way, but not work in vaadin 7: String server = ((WebApplicationContext)…
Jorge Infante Osorio
  • 2,143
  • 15
  • 26
9
votes
1 answer

Vaadin: how do I use Navigator from a View?

I'm looking at Vaadin plugin in Grails at the moment and this is what I'm trying to implement: I have an UI class and two View classes The UI code has a navigator in it: class MyUI extends UI { @Override protected void init(VaadinRequest…
svz
  • 4,516
  • 11
  • 40
  • 66
8
votes
1 answer

How do I fix 'com.vaadin.DefaultWidgetSet' does not contain implementation for com.vaadin.addon.charts.Chart

By using "Spring Stater Project" in Eclipse/STS, I was able to have a Vaadin project up and running quickly. I want to add charting via Vaadin-Addon to the project. I have Googled trying to find how to properly add and use Vaadin Chart addon to…
KRico
  • 501
  • 2
  • 6
  • 13
8
votes
1 answer

How can I make a VerticalLayout scrollable using vaadin?

I have a Components which exists as a common layout for all my pages. The layout of this component is as follows (made using paint so please sorry :p): Right arrows mean that this layout is a HorizontalLayout and down arrows VerticalLayout. I'm…
joninx
  • 1,775
  • 6
  • 31
  • 59
8
votes
1 answer

Get user’s IP address, and other client-side info in Vaadin 7 web app

In Vaadin 7, how does one get the IP address of the user’s computer/device? Can I get other information about the client?
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
8
votes
3 answers

VAADIN cannot find themes when in productionMode

I have custom theme for my VAADIN application in src/main/webapp/VAADIN/themes/mytheme/ with files mytheme.scss and styles.scss. Everything works fine when the vaadin productionMode deployment parameter is set to false in web.xml. When I set the…
sando.lakatos
  • 97
  • 2
  • 7
7
votes
3 answers

How to display checkboxes instead of boolean in vaadin grid?

I'm trying to display my boolean values as a checkbox in a vaadin grid. I can't use the multi selection mode because i need two columns with checkboxes. The columns of the Checkboxes shell have a Caption but the Checkboxes itself shell be without a…
julianspaeth
  • 205
  • 1
  • 3
  • 9
7
votes
3 answers

Why PasswordField use String instead of char[] in Vaadin?

String is vulnerable for password values. I noticed that Vaadin PasswordField manipulates password as a String. Following is default constructor of PasswordField, public PasswordField() { setValue(""); } My questions : Is it safe to use…
akash
  • 22,664
  • 11
  • 59
  • 87
7
votes
7 answers

How to make only some columns editable in a Vaadin Grid?

Vaadin Grid allows to be defined as editable with grid.setEditorEnabled(true); This makes all visible columns editable. However I don't want the user to edit an specific column, but seems like the editable is an all or nothing. The next best…
Yampeku
  • 583
  • 1
  • 4
  • 21
7
votes
1 answer

How to change default font size in TinyMCETextField when using TinyMCEEditor Wrapper in Vaadin 7 project?

Title says it all. I found that you have to edit some TinyMCEEditor css-file but how and where to do that in a Vaadin 7 project? With all its theme and style css-structures.
Steve Waters
  • 3,348
  • 9
  • 54
  • 94
7
votes
2 answers

How to make a pair of radio buttons in Vaadin 7 to represent True/False values but localized text?

I want a pair of radio buttons in Vaadin 7 to represent boolean values where each value has a textual display such as "Active" and "Inactive".
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
7
votes
2 answers

Vaadin 7 : How to import JS files from custom path?

I am using Vaadin-7 and this answer was not fix for me . I am trying to import my js file under myproject/WebContent/js/test.js . I used @JavaScript in my UI class as…
Cataclysm
  • 7,592
  • 21
  • 74
  • 123
7
votes
1 answer

How to @Inject object from different project module included as jar

I am using Vaadin-CDI in multi-module maven project with one module desired for common classes such interfaces, abstract classes and others. My problem is, that I am not able to @Inject class anotated @UIScoped as usual, which is placed in core…
s0vet
  • 375
  • 4
  • 8
  • 22
1
2
3
94 95