diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-04-16 15:38:01 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-04-16 15:38:01 -0400 |
commit | 7f7d05616c489b6039bc1e8824c00b43209109c2 (patch) | |
tree | 319480b616f48c0f2ec38e1673c2b89a1de79125 /demo/batch.ur | |
parent | 55d10dd587a94d356096c2dfc39306c14b55c7bf (diff) |
Add more buttons to demo, to avoid effectful GET
Diffstat (limited to 'demo/batch.ur')
-rw-r--r-- | demo/batch.ur | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/demo/batch.ur b/demo/batch.ur index 4100749f..b7007913 100644 --- a/demo/batch.ur +++ b/demo/batch.ur @@ -37,7 +37,7 @@ fun show withDel lss = </table></xml>}/></xml> end -fun main () = +fun action () = lss <- source Nil; batched <- source Nil; @@ -79,3 +79,7 @@ fun main () = <button value="Execute" onclick={exec ()}/> </body></xml> end + +fun main () = return <xml><body> + <form><submit value="Begin demo" action={action}/></form> +</body></xml> |