Created
November 27, 2012 17:56
-
-
Save jtesser/4155872 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>MACRO TEST</h1> | |
<div>#helloWorld()</div> | |
<h1>Velocity Viewtool Test</h1> | |
<div>$helloWorld</div> | |
<div>$helloWorld.hello()</div> | |
<div>$helloWorld.hello(1)</div> | |
<div>$helloWorld.hello("2")</div> | |
<h1>Test DWR</h1> | |
<script type="text/javascript" src="/dwr/engine.js"></script> | |
<script type="text/javascript" src="/dwr/util.js"></script> | |
<script type="text/javascript" src="/dwr/interface/TestDWR.js"></script> | |
<script> | |
function myCallback(data){ | |
alert(data); | |
} | |
TestDWR.hello(myCallback); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment