view tests/checkbox.ur @ 911:12c77dc567a2

Fix list jsification bug; grid1 working with foreign key, but booleans not getting into database properly
author Adam Chlipala <adamc@hcoop.net>
date Tue, 25 Aug 2009 14:50:19 -0400
parents 71bafe66dbe1
children
line wrap: on
line source
val handler = fn x => <html><body>
        {if x.A then cdata "Yes" else cdata "No"}
</body></html>

val main = fn () => <html><body>
        <lform>
                <checkbox{#A}/> How about it?<br/>
                <submit action={handler}/>
        </lform>
</body></html>