/example/src/main/webapp/Example.html

https://code.google.com/p/gwtrpccommlayer/ · HTML · 65 lines · 33 code · 9 blank · 23 comment · 0 complexity · 4ea6e1da519111913a0e1f437c8c3904 MD5 · raw file

  1. <!doctype html>
  2. <!-- The DOCTYPE declaration above will set the -->
  3. <!-- browser's rendering engine into -->
  4. <!-- "Standards Mode". Replacing this declaration -->
  5. <!-- with a "Quirks Mode" doctype may lead to some -->
  6. <!-- differences in layout. -->
  7. <html>
  8. <head>
  9. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  10. <!-- -->
  11. <!-- Consider inlining CSS to reduce the number of requested files -->
  12. <!-- -->
  13. <link type="text/css" rel="stylesheet" href="Example.css">
  14. <!-- -->
  15. <!-- Any title is fine -->
  16. <!-- -->
  17. <title>Web Application Starter Project</title>
  18. <!-- -->
  19. <!-- This script loads your compiled module. -->
  20. <!-- If you add any GWT meta tags, they must -->
  21. <!-- be added before this line. -->
  22. <!-- -->
  23. <script type="text/javascript" language="javascript" src="example/example.nocache.js"></script>
  24. </head>
  25. <!-- -->
  26. <!-- The body can have arbitrary html, or -->
  27. <!-- you can leave the body empty if you want -->
  28. <!-- to create a completely dynamic UI. -->
  29. <!-- -->
  30. <body>
  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. <!-- RECOMMENDED if your web app will not function without JavaScript enabled -->
  34. <noscript>
  35. <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
  36. Your web browser must have JavaScript enabled
  37. in order for this application to display correctly.
  38. </div>
  39. </noscript>
  40. <h1>Example GWT Form</h1>
  41. <table align="center">
  42. <tr>
  43. <td colspan="2" style="font-weight:bold;">Please enter your AccountId, Name, Age:</td>
  44. </tr>
  45. <tr>
  46. <td id="accountIdFieldContainer"></td>
  47. <td id="nameFieldContainer"></td>
  48. <td id="ageFieldContainer"></td>
  49. <td id="sendButtonContainer"></td>
  50. </tr>
  51. <tr>
  52. <td colspan="2" style="color:red;" id="errorLabelContainer"></td>
  53. </tr>
  54. </table>
  55. </body>
  56. </html>