diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-02-14 14:07:56 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-02-14 14:07:56 -0500 |
commit | a89a3e41b94c294e1f08d369f2558e12b532e430 (patch) | |
tree | d009d124587d5ea580081e4d2fccfb6ac9c21d69 /tests | |
parent | f9fc82e21b19e56f2f43f0e26d421c6364a1bf51 (diff) |
Start of RPCification
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 |