diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rpc.ur | 13 | ||||
-rw-r--r-- | tests/rpc.urp | 5 |
2 files changed, 18 insertions, 0 deletions
diff --git a/tests/rpc.ur b/tests/rpc.ur new file mode 100644 index 00000000..85191229 --- /dev/null +++ b/tests/rpc.ur @@ -0,0 +1,13 @@ +sequence s + +fun main () : transaction page = + let + fun getNext () = nextval s + in + s <- source 0; + return <xml><body> + <button value="Get It On!" + onclick={n <- getNext (); + set s n}/> + </body></xml> + end diff --git a/tests/rpc.urp b/tests/rpc.urp new file mode 100644 index 00000000..16b72b8b --- /dev/null +++ b/tests/rpc.urp @@ -0,0 +1,5 @@ +debug +sql rpc.sql +database rpc + +rpc |