summaryrefslogtreecommitdiff
path: root/tests/rform.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rform.ur')
-rw-r--r--tests/rform.ur10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rform.ur b/tests/rform.ur
new file mode 100644
index 00000000..17e9a0cf
--- /dev/null
+++ b/tests/rform.ur
@@ -0,0 +1,10 @@
+fun main () : transaction page =
+ s <- source "Hi";
+ return <xml><body>
+ <form>
+ <textbox{#A} source={s}/>
+ </form>
+ <a onclick={set s "NEW AND DIFFERENT"}>Change it up!</a><br/>
+ <br/>
+ Latest: <dyn signal={s <- signal s; return (cdata s)}/>
+ </body></xml>