diff tests/ctextbox.ur @ 606:5145181b02fa

Use normal fields of ctextboxes
author Adam Chlipala <adamc@hcoop.net>
date Tue, 27 Jan 2009 09:53:51 -0500
parents
children 983d9b38abc7
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/ctextbox.ur	Tue Jan 27 09:53:51 2009 -0500
@@ -0,0 +1,7 @@
+fun main () : transaction page =
+    s <- source "Initial";
+    return <xml><body>
+      <ctextbox source={s} size=5/>
+
+      <dyn signal={s <- signal s; return (cdata s)}/>
+    </body></xml>