2

Is it possible to call a Java Script function out of Vaadin Portlet ? E.g I have a Portlet and a JavaScript file witch contains the function : alert(message). Id like to call the function and send the message from my Vaadin portlet.

Any guides are greatly appreciated.

1 Answer 1

1

Use Window.executeJavaScript(...) to execute arbitrary Javascript code in the browser.

Sign up to request clarification or add additional context in comments.

1 Comment

how do i get the functions out of my js files ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.