You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PopupViewInEmbeddedApplication.html 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=9;chrome=1" />
  6. <title>This is my Embedding Page</title>
  7. <link rel="shortcut icon" type="image/vnd.microsoft.icon" href="/VAADIN/themes/reindeer/favicon.ico" />
  8. <link rel="icon" type="image/vnd.microsoft.icon" href="/VAADIN/themes/reindeer/favicon.ico" />
  9. </head>
  10. <body>
  11. <script type="text/javascript" src="../VAADIN/vaadinBootstrap.js"></script>
  12. <p>This is a static web page that contains an embedded Vaadin
  13. application. The embedded application div has been taken out of the normal element flow by applying 'float:left' causing the application
  14. to float to the left.</p>
  15. <div id="helloworld" style="border: 2px solid green; float:left; width:400px; height:400px"></div>
  16. <div style="clear:both"></div>
  17. <hr/>
  18. <script type="text/javascript">//<![CDATA[
  19. if (!window.vaadin) alert("Failed to load the bootstrap JavaScript: "+ "VAADIN/vaadinBootstrap.js");
  20. /* The UI Configuration */
  21. vaadin.initApplication("helloworld", {
  22. "browserDetailsUrl": "/run/com.vaadin.tests.components.popupview.PopupViewInEmbeddedApplication",
  23. "serviceUrl": "/run",
  24. "widgetset": "com.vaadin.DefaultWidgetSet",
  25. "theme": "reindeer",
  26. "versionInfo": {"vaadinVersion": "7.0.0"},
  27. "vaadinDir": "./../VAADIN/",
  28. "heartbeatInterval": 300,
  29. "debug": true,
  30. "standalone": false,
  31. "authErrMsg": {
  32. "message": "Take note of any unsaved data, "+
  33. "and <u>click here<\/u> to continue.",
  34. "caption": "Authentication problem"
  35. },
  36. "comErrMsg": {
  37. "message": "Take note of any unsaved data, "+
  38. "and <u>click here<\/u> to continue.",
  39. "caption": "Communication problem"
  40. },
  41. "sessExpMsg": {
  42. "message": "Take note of any unsaved data, "+
  43. "and <u>click here<\/u> to continue.",
  44. "caption": "Session Expired"
  45. }
  46. });
  47. </script>
  48. </body>
  49. </html>