annotate tests/ccheckbox.ur @ 2204:01c8aceac480

Finishes initial prototype, caching parameterless pages with table-match-based invalidation. Still has problems parsing non-Postgres SQL dialects properly.
author Ziv Scully <ziv@mit.edu>
date Tue, 27 May 2014 21:14:13 -0400
parents 37f5a23446b2
children
rev   line source
adam@1610 1 fun main () : transaction page =
adam@1610 2 s <- source True;
adam@1610 3 t <- source 1;
adam@1610 4 return <xml><body><ccheckbox source={s} onclick={set t 3}/>
adam@1610 5 <dyn signal={s <- signal s;
adam@1610 6 t <- signal t;
adam@1610 7 return <xml>{[s]} {[t]}</xml>}/>
adam@1610 8 </body></xml>