Embed Vaadin 7 Application on another domain/site (Cross-Site) -
i'm evaluating vaadin internal web application , 1 requirement have embed web application (hosted on mydomain:8080) site (hosted on mydomain:80).
for vaadin 6, xs add-on let me ease vaadin 7 way can cross-site embedding iframe (which not option me).
has been able embed vaadin 7 web application on domain/port? if how?
note; - control web servers hosting mydomain:8080 (tomcat 7.0.51) , mydomain:80 (apache httpd 2.2) can change config if helps. - tried cors on tomcat side. didn't help. - tried using vaadin-xs vaadin 7. didn't work.
you have 2 things:
1.- enable cors in server side, either using filter or customising vaadin servlet.
2.- change bootstrap script set these parameters:
"serviceurl": "http://mydomain:8080", "browserdetailsurl": "http://mydomain:8080",
Comments
Post a Comment