log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
urweb
annotate tests/reactive3.ur @ 579:0094e0242100
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
Propagated a source change into a dynamic document element
author
Adam Chlipala <adamc@hcoop.net>
date
Tue, 30 Dec 2008 15:53:04 -0500
parents
children
rev
line source
adamc@579
1
fun main () : transaction page =
adamc@579
2
x <- source <xml>TEST</xml>;
adamc@579
3
return <xml><body>
adamc@579
4
<dyn signal={signal x}/>
adamc@579
5
<br/>
adamc@579
6
<a onclick={alert "Changing...."; set x <xml>CHANGEUP</xml>}>Oh My</a>
adamc@579
7
</body></xml>