Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
vaadin and Yfiles ajax
I am new in vaadin and yfiles both but I need to use yfiles library to create and edit graphs in my vaadin web application. Is it possible? I have added yFiles jar files to my application but I dont know how to work with such a thing in a vaadin web application.
As far as I know, there is no existing Yfiles integration with Vaadin.
Embedding YFiles graphs in Vaadin applications inside an iframe should be trivial using the Embedded component. Proper server- and client-side integration would be needed for more interactive communication between the Vaadin and YFiles application.
If you need proper integration, unless you want to do it yourself, we do integration services, among other things.
PrintWriter out = response.getWriter();
out.println("<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">");
out.println("var canvas, hint, distances;");
then I have added some lines in web.xml :
and in vaadin I am doing like this :
url = new URL("http://localhost:8888/VaadinAndYFile/MyServlet");
Embedded browser = new Embedded("", new ExternalResource(url));
Could you please tell me where should I put these js libraries and how can I address to them?