Posted By

salvadordiaz on 04/30/09


Tagged

html gwt gwt16


Versions (?)

Modified GWT HTML host page


 / Published in: HTML
 

This is the modified GWT HTML host page for your module. As you can see, the only modified element is the path to the GWT bootstrap script, the original declaration was the GWT 1.5 way, the new declaration is the GWT 1.6 way (Read the "Switch from GWTShell to HostedMode" and "Creating a directory" sections to understand this change)

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <!-- The HTML 4.01 Transitional DOCTYPE declaration-->
  3. <!-- above set at the top of the file will set -->
  4. <!-- the browser's rendering engine into -->
  5. <!-- "Quirks Mode". Replacing this declaration -->
  6. <!-- with a "Standards Mode" doctype is supported, -->
  7. <!-- but may lead to some differences in layout. -->
  8.  
  9. <head>
  10. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  11. <!-- -->
  12. <!-- Any title is fine -->
  13. <!-- -->
  14. <title>Application</title>
  15.  
  16. <!-- -->
  17. <!-- This script loads your compiled module. -->
  18. <!-- If you add any GWT meta tags, they must -->
  19. <!-- be added before this line. -->
  20. <!-- -->
  21. <script type="text/javascript" language="javascript" src="Application/Application.nocache.js"></script>
  22. </head>
  23.  
  24. <!-- -->
  25. <!-- The body can have arbitrary html, or -->
  26. <!-- you can leave the body empty if you want -->
  27. <!-- to create a completely dynamic UI. -->
  28. <!-- -->
  29. <body>
  30.  
  31. <!-- OPTIONAL: include this if you want history support -->
  32. <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>
  33.  
  34. </body>
  35. </html>

Report this snippet  

You need to login to post a comment.