diff tests/vlad4.ur @ 1398:fe470db7feea

Fix for handling of some attributes to client-side input widgets, based on a patch from Vladimir Shabanov
author Adam Chlipala <adam@chlipala.net>
date Sun, 16 Jan 2011 10:57:59 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/vlad4.ur	Sun Jan 16 10:57:59 2011 -0500
@@ -0,0 +1,6 @@
+fun main () : transaction page =
+    s <- source "";
+    return <xml><body>
+      <ctextbox source={s} value="123" onchange={s <- get s; alert (s ^ "!")}/>
+      <dyn signal={s <- signal s; return (txt s)}/>
+    </body></xml>