Mercurial > urweb
view tests/setActive.ur @ 2005:f3b0c82e2b13
Return to working version mode
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 26 Apr 2014 11:54:44 -0400 |
parents | 3d823d8424cc |
children |
line wrap: on
line source
fun main () : transaction page = i <- fresh; x <- source <xml/>; return <xml> <body> <dyn signal={signal x} /> <active code={set x <xml><ctextbox/><ctextbox id={i}/><ctextbox/><active code={giveFocus i; return <xml/>}/></xml>; return <xml/>}/> </body> </xml>