view tests/crypt.ur @ 1398:fe470db7feea

Fix for handling of some attributes to client-side input widgets, based on a patch from Vladimir Shabanov
author Adam Chlipala <adam@chlipala.net>
date Sun, 16 Jan 2011 10:57:59 -0500
parents a5bfed32d4f7
children
line wrap: on
line source
fun cryptIt r = return <xml><body>
  {[crypt r.Pass "AB"]}
</body></xml>

fun main () = return <xml><body>
  <form><textbox{#Pass}/> <submit action={cryptIt}/></form>
</body></xml>