mojo/src/main/resources/archetype-resources/src/main/resources/index.xhtml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 22 Jan 2013 09:19:47 +0100
branchmodel
changeset 528 08cd5a0c967e
parent 421 0236ad6ab4d2
child 533 715a6c77b19e
permissions -rw-r--r--
Archetype using the @Property model
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <!DOCTYPE html>
     3 <html xmlns="http://www.w3.org/1999/xhtml">
     4     <head>
     5         <title>Bck2Brwsr's Hello World</title>
     6     </head>
     7     <body>
     8         <h1 data-bind="text: helloMessage">Loading Bck2Brwsr's Hello World...</h1>
     9         Your name: <input data-bind="value: name, valueUpdate: 'afterkeydown'"></input>
    10         <button id="hello">Say Hello!</button>
    11 
    12         <script src="/bck2brwsr.js"></script>
    13         <script src="/vm.js"></script>
    14         <script type="text/javascript">
    15             vm.loadClass('${package}.App');
    16         </script>
    17     </body>
    18 </html>