Vaadin does find the js libraries, but I keep getting an Error I’m not able to solve:
Could not initialize JavaScriptConnector because no JavaScript init function was found. Make sure one of these functions are defined:
com_example_vaadind3test_Diagram
com_vaadin_ui_AbstractJavaScriptComponent
com_vaadin_ui_AbstractComponent
com_vaadin_server_AbstractClientConnector
Please see the attached screenshot for more detail on the project setup. I’ve done everything exactly as suggested in the little tuturial above.
Have you encountered this problem before?
What does it mean and how can I solve it?
so this works so far, but when I add some changes to the javascript code, save and run the program again, these changes do not take any effect. It seems like eclipse is still using the previous version of my .js file. (see attachment)
Only if I change the .js file name (and all references to that file), changes do take effect. But that’s not a sustainable solution of course.
Any ideas?
There seems no permanent way to do that in IE. What does work is using IE with the developer view (press F12) and, under network settings, “always refresh from server” enabled.
However, this is automatically disabled again after you close IE, and this change does also not take effect in eclipse built in browser.
Therefore
firefox + developer toolbox seems to be the way to go…