view tests/ctextboxAttrs.ur @ 2266:afd12c75e0d6

Do SQL and pure caching in the same pass.
author Ziv Scully <ziv@mit.edu>
date Wed, 14 Oct 2015 15:45:04 -0400
parents 2e01a36701eb
children
line wrap: on
line source
fun main () : transaction page =
    s <- source "Initial";
    return <xml><body>
      <ctextbox source={s} onclick={fn ev => alert ("Clicky " ^ show ev.ScreenX)}
                           onkeypress={fn ev => alert ("Code " ^ show ev.KeyCode)}/>
    </body></xml>