annotate tests/vlad4.ur @ 2162:c39c48696393

Allow returnBlob and redirect in static protocol Both of these functions end up returning RETURN_INDIRECTLY, which is assumed to be an error by static.c's main. Treat it as success instead.
author Julian Squires <julian@cipht.net>
date Mon, 13 Jul 2015 14:34:30 -0400
parents fe470db7feea
children
rev   line source
adam@1398 1 fun main () : transaction page =
adam@1398 2 s <- source "";
adam@1398 3 return <xml><body>
adam@1398 4 <ctextbox source={s} value="123" onchange={s <- get s; alert (s ^ "!")}/>
adam@1398 5 <dyn signal={s <- signal s; return (txt s)}/>
adam@1398 6 </body></xml>