view tests/radio.ur @ 1454:96353138f016

Fix bug in projection of constructors from modules in class rules.
author Karn Kallio <kkallio@eka>
date Sun, 01 May 2011 00:26:08 -0430
parents 71bafe66dbe1
children a1a1d66aebac
line wrap: on
line source
val handler = fn x => <html><body>
        You entered: {cdata x.A}
</body></html>

val main = fn () => <html><body>
        <lform>
                <radio{#A}>
                        <li> <radioOption value="A"/>A</li>
                        <li> <radioOption value="B"/>B</li>
                </radio>
                <submit action={handler}/>
        </lform>
</body></html>