Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个 vaadin 应用程序,但它需要 javascript 集成。如何将 .js 文件添加到 vaadin 应用程序中?
对于 Vaadin 6,您应该能够在 Window 中使用 executeJavascript 方法,如下所示:
getWindow().executeJavaScript("alert(\"Hello JavaScript\");");