I created a default Vaadin project using eclipse plugin. Then in the war folder i create a file index.html
Now, I want to use iFrame approach and want to embed the default hello Vaadin user widget to this page. Doc tell to look at the page source of the vaadin widget and use the info to provide as src in iframe. But I am confused like what exactly to look for. Below is my source of vaadin widget. Please advise.
html, body {height:100%;}Myproject Application
You have to enable javascript in your browser to use an application built with Vaadin.
Use Div to run Vaadin application and run it inside the same “page”. Here is a thread with up-to-date info:
http://vaadin.com/forum/-/message_boards/message/70712 . Basically you must just cut-n-paste vaadin init code from multiapp.html example.
You need the add-on if the site on which you are embedding the application is different from the site serving the application - and note that browser security mechanisms (and the specification) also consider e.g. http and https on the same server as different sites.