view tests/setActive.ur @ 2024:6372a742ab04

Allow '+' char in blessMime See this one [1] for an example [1] - http://www.w3.org/TR/SVGTiny12/mimereg.html
author Sergey Mironov <grrwlf@gmail.com>
date Thu, 05 Jun 2014 20:36:12 +0000
parents 3d823d8424cc
children
line wrap: on
line source
fun main () : transaction page =
    i <- fresh;
    x <- source <xml/>;
    return <xml>
      <body>
        <dyn signal={signal x} />
        <active code={set x <xml><ctextbox/><ctextbox id={i}/><ctextbox/><active code={giveFocus i; return <xml/>}/></xml>; return <xml/>}/>
      </body>
    </xml>