Mercurial > urweb
view tests/echoBlob.ur @ 1802:e3ec868567ce
Undo change to script evaluation, originally made to support <active> + 'giveFocus'; alternate approach to making 'giveFocus' work in dynamic code generatione
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Fri, 03 Aug 2012 08:38:47 -0400 |
parents | f7e2026dd5ae |
children |
line wrap: on
line source
fun echo r = returnBlob (fileData r.Data) (blessMime (fileMimeType r.Data)) fun main () = return <xml><body> <form> <upload{#Data}/> <submit action={echo}/> </form> </body></xml>