view tests/textarea.ur @ 1248:cf9a636f9b15

Avoid state space explosion with ECase that just writes a constant in each case
author Adam Chlipala <adamc@hcoop.net>
date Sun, 18 Apr 2010 20:06:15 -0400
parents 71bafe66dbe1
children
line wrap: on
line source
val handler = fn x => <html><body>
        You entered: {cdata x.A}
</body></html>

val main = fn () => <html><body>
        <lform>
                <ltextarea{#A}/>
                <submit action={handler}/>
        </lform>
</body></html>