view tests/pass.ur @ 1829:aadfc1a138d8

Removed unused parent() function which conflicts with window.parent.
author Vladimir Shabanov <vshabanoff@gmail.com>
date Mon, 22 Oct 2012 01:49:22 +0400
parents 71bafe66dbe1
children
line wrap: on
line source
val handler = fn r => <html><body>
        <li> Name: {cdata r.Nam}</li>
        <li> Password: {cdata r.Word}</li>
</body></html>

val main : unit -> page = fn () => <html><body>
        <lform>
                Name: <textbox{#Nam} /><br/>
                Password: <password{#Word} /><br/>

                <submit action={handler}/>
        </lform>
</body></html>