vaadin8

Unable to process file module-info.class within a Java9 project results in ClassFormatException

一曲冷凌霜 提交于 2019-11-29 12:12:22
Trying to Run Vaadin 8.1 app under Java 9 prerelease in IntelliJ 2017.2.2 I was able to build a vaadinjavanine.war using a fresh project and host the same using Jetty Server. I ended up trying to deploy the generated war to a tomcat server. But, during the startup of the tomcat server, I am getting the following exception: 21-Aug-2017 22:53:38.830 SEVERE [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.processAnnotationsFile Unable to process file [/Library/Tomcat/apache-tomcat-8.0.22/webapps/vaadinjavanine/WEB-INF/classes/module-info.class] for annotations org.apache.tomcat

Vaadin 8.5.1- Refresh grid after row update

感情迁移 提交于 2019-11-28 10:36:46
问题 I am using Vaadin 8.5.1 Grid to display 1000's of rows. Once a row is updated with change in it property, I use grid.getDataProvider().refreshItem(selectedRow) or grid.getDataProvider().refreshAll() which fails to update the row. I need to do explicit grid.setItems() to see the updated property of the row. I am using below snippet to create a Grid msgGrid = new ABSMsgGrid(); List<ConsoleEntry> messageEntryList = new ArrayList<>(); if (inputConsole != null) { messageEntryList.addAll

Run Vaadin 8.1 app under Java 9 prerelease in IntelliJ 2017.2.2

狂风中的少年 提交于 2019-11-28 01:33:30
In IntelliJ 2017.2.2 I am able to run a Vaadin 8.1.2 app (brand-new vaadin-archetype-application archetype) with Tomcat 8.5.20 under Java 9+181 if the Project Structure > Project SDK is set to Java 1.8. If Project Structure > Project SDK is set to Java 9 I get this compiler error around FillIn with assertion error about filling something to do with Vaadin MouseEvents. I have tried googling but found no clues. Information:java: An exception has occurred in the compiler (9). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the

Generate an HTML page, and open in a new window, from a Vaadin 8 app

你离开我真会死。 提交于 2019-11-28 00:23:06
From my Vaadin 8 web app, I want the user to be able to open a report in another window, by clicking a button. The contents are to be generated by the Vaadin app using plain HTML5 rather than using Vaadin widgets. The Vaadin 8 manual has a page Handling Browser Windows . Its shows the use of a BrowserWindowOpener object to open a new window. But that window contains a Vaadin UI subclass, whereas I want to generate my own HTML content. Bonus points for passing information such as a database identifier value. Here is an entire example app, built in Vaadin 8.5.1. We present a UUID as text in a

Generate an HTML page, and open in a new window, from a Vaadin 8 app

╄→гoц情女王★ 提交于 2019-11-26 23:24:22
问题 From my Vaadin 8 web app, I want the user to be able to open a report in another window, by clicking a button. The contents are to be generated by the Vaadin app using plain HTML5 rather than using Vaadin widgets. The Vaadin 8 manual has a page Handling Browser Windows. Its shows the use of a BrowserWindowOpener object to open a new window. But that window contains a Vaadin UI subclass, whereas I want to generate my own HTML content. Bonus points for passing information such as a database

Run Vaadin 8.1 app under Java 9 prerelease in IntelliJ 2017.2.2

放肆的年华 提交于 2019-11-26 21:55:10
问题 In IntelliJ 2017.2.2 I am able to run a Vaadin 8.1.2 app (brand-new vaadin-archetype-application archetype) with Tomcat 8.5.20 under Java 9+181 if the Project Structure > Project SDK is set to Java 1.8. If Project Structure > Project SDK is set to Java 9 I get this compiler error around FillIn with assertion error about filling something to do with Vaadin MouseEvents. I have tried googling but found no clues. Information:java: An exception has occurred in the compiler (9). Please file a bug