view tests/both2.ur @ 1417:d0786ff9bb22

Fix detection of POSTs to error pages
author Adam Chlipala <adam@chlipala.net>
date Sun, 23 Jan 2011 17:27:51 -0500
parents a5eb8f87bc17
children
line wrap: on
line source
fun main () : transaction page =
    let
        fun submit r = return <xml/>
    in
        return <xml>
          <body>
            <form>
              <textbox{#Text}/><submit action={submit}/>
            </form>
          </body>
        </xml>
    end