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

Where to place persistence.xml when using eclipselink?

I'm trying execute a vaadin7 application with JPA EclipseLink. I created a folder META-INF on src/ but doesn't work and returns this error bellow: javax.servlet.ServletException: com.vaadin.server.ServiceException: …
FernandoPaiva
  • 4,410
  • 13
  • 59
  • 118
0
votes
1 answer

JPAContainer connection?

I'm learning JPAContainer, and I can't understand how to configure my SGBD connection...Using DAO mode I create an class that return my connection. //ConnectionFactory DAO mode public class ConnectionFactory { public Connection getConnection()…
FernandoPaiva
  • 4,410
  • 13
  • 59
  • 118
0
votes
1 answer

Vaadin calendar?

I'm reading the vaadin7 book to create a calendar to create some events. I created but I dont know how to create listener to when I click in some cells open a window and add the event. How to do this ? obs: In some foruns some users indicate to use…
FernandoPaiva
  • 4,410
  • 13
  • 59
  • 118
0
votes
1 answer

Set encoding vaadin?

I created a CustomLayout but doesn't work encoding. Here in Brazil we use accentuation on some words but when I display my CustomLayout this words show < ? >. Example: Nação(nation)-> displayed Na< ? >< ? >o. How to set encoding in vaadin 7 ?
FernandoPaiva
  • 4,410
  • 13
  • 59
  • 118
0
votes
1 answer

Vaadin Plugin for Grails installs but code completion does not work

I have tried to install the vaadin plugin for grails on both GGTS and Netbeans and even though it works, the IDE flags the vaadin imports as unable to resolve them and as a result code completion does not work for Vaadin components It appears the…
0
votes
1 answer

Where to close the connection while using connection pooling?

I am using Vaadin framework and following MVC design pattern to develop a web application project. While implementing connection pooling feature for my project I encountered the following problem. I am getting the ResultSet in one class(data class)…
user3256546
  • 73
  • 2
  • 5
0
votes
1 answer

default CRUD in vaadin 7 on grails

First of all, I am new to both Grails and Vaadin, I'm trying to make it work according to docs. I am using Grails 2.2.4 and Vaadin 7.1.8.2. I installed the plugin using: $ grails install-plugin vaadin 7.1.8.2 and put the plugin into…
Bulba
  • 805
  • 8
  • 10
0
votes
2 answers

Pass fields with enter key?

I'm looking for a way to pass fields with enter key in VerticalLayout or others. In vaadin book there an example with Shortcut and Handler listeners but I don't know how to implement that. I'm trying this. public class MyWindow extends Window…
FernandoPaiva
  • 4,410
  • 13
  • 59
  • 118
0
votes
1 answer

Why vaadin duplicates View's methods invocation?

Navigator class: @CDIUI @Title("RUT — Remote University Tool") public class NavigatorUI extends UI { public static final String MAINVIEW = MainView.NAME; @EJB private TestCRUDService testCRUDService; @EJB private…
user2966560
  • 379
  • 2
  • 5
  • 16
0
votes
1 answer

CSS to customize button?

How to I can customize the buttons of vaadin ? I'm trying to set height and width but doesn't work and I try align an image on center of button also and doesn't work. I'm trying this. /** css file styles.scss */ .myButton{ width:60px; …
FernandoPaiva
  • 4,410
  • 13
  • 59
  • 118
0
votes
1 answer

Vaadin QuickTickets Dashboard deploy error

i tried to compile and run the vaadin demo application but i get the following error. Did i miss something? i downloaded the code from github https://github.com/vaadin/dashboard-demo tried with mvn install then deployed to Tomcatserver 7.0.47 but…
sgetachew
  • 351
  • 1
  • 2
  • 12
0
votes
3 answers

VerticalLayout with footer?

I'm looking for a way to create a footer in my VerticalLayout. There are some way to create footer with VerticalLayout ? Any idea ?
FernandoPaiva
  • 4,410
  • 13
  • 59
  • 118
0
votes
1 answer

Upload image doesn't work?

I created a image upload using submitUpload() does work when I click in my Button but when I add the submitUpload() in a method doesn't. This is the class I am using: // save image public class ImageUpload implements Receiver{ private File…
FernandoPaiva
  • 4,410
  • 13
  • 59
  • 118
0
votes
3 answers

Passing a object from server to client with Vaadin

I want to pass an object from the server to the client with Vaadin: My object: public class MyObject { public String name; public int value; } Then I have a component extending AbstractJavaScriptComponent, which has this: public void…
Erpel
  • 150
  • 1
  • 8
0
votes
1 answer

Get current URL from Tomcat6 server?

I'm looking for a way to get the current URL from my Tomcat6 with Vaadin7. The URL is: mydomain:8080/MyProject. I'm trying this. public class MyURL { public MyURL(){ …
FernandoPaiva
  • 4,410
  • 13
  • 59
  • 118