summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-01-27 09:53:51 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-01-27 09:53:51 -0500
commitf75d359eeaaca5884d515380b735826532fad15c (patch)
tree7baa355a0b01c717860e5324b8376d52a3a26180 /tests
parent9d4b65c06d1277c74e0c6f782f0e2b93d7919da2 (diff)
Use normal fields of ctextboxes
Diffstat (limited to 'tests')
-rw-r--r--tests/ctextbox.ur7
-rw-r--r--tests/ctextbox.urp3
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/ctextbox.ur b/tests/ctextbox.ur
new file mode 100644
index 00000000..c2a322e3
--- /dev/null
+++ b/tests/ctextbox.ur
@@ -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>
diff --git a/tests/ctextbox.urp b/tests/ctextbox.urp
new file mode 100644
index 00000000..93c828ac
--- /dev/null
+++ b/tests/ctextbox.urp
@@ -0,0 +1,3 @@
+debug
+
+ctextbox