Mercurial > urweb
view tests/setActive.ur @ 1957:ef9fdbb05c73
MySQL: set character set when opening a new connection
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Tue, 14 Jan 2014 19:22:53 -0500 |
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>