view tests/select.lac @ 215:2f574c07df2e

Compiling a con-tuple-using test case
author Adam Chlipala <adamc@hcoop.net>
date Sat, 16 Aug 2008 15:09:53 -0400
parents e2b185379592
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>
                <lselect{#A}>
                        <loption value="A">A</loption>
                        <loption value="B">B</loption>
                </lselect>
                <submit action={handler}/>
        </lform>
</body></html>