diff options
author | 2009-06-13 14:29:36 -0400 | |
---|---|---|
committer | 2009-06-13 14:29:36 -0400 | |
commit | ba3e01e524907d85f5cba6af62083fcdee606f33 (patch) | |
tree | 1f400f83f20ef1f54d68e1e7b674a08f29abb4d4 /tests/tbody.ur | |
parent | b7de8e9ac590f9d06df72d22489375b33a6efef9 (diff) |
<dyn> inside <table>; fix Specialize bug with datatype decls generating other mutually-recursive datatype decls
Diffstat (limited to 'tests/tbody.ur')
-rw-r--r-- | tests/tbody.ur | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/tbody.ur b/tests/tbody.ur new file mode 100644 index 00000000..53bc0296 --- /dev/null +++ b/tests/tbody.ur @@ -0,0 +1,13 @@ +fun main () : transaction page = + s <- source []; + entry <- source ""; + return <xml><body> + <table> + <dyn signal={s <- signal s; + return (List.mapX (fn s => <xml><tr><td>{[s]}</td></tr></xml>) s)}/> + </table> + + Add one: <ctextbox source={entry}/> <button onclick={e <- get entry; + v <- get s; + set s (e :: v)}/> + </body></xml> |