Mercurial > gui
view select.ur @ 10:0337f88f2efc
Clock
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Fri, 22 Jul 2011 15:40:03 -0400 |
parents | 4d8165e8f89a |
children |
line wrap: on
line source
fun crender r = <xml><cselect source={r.Selected}> {List.mapX (fn r' => <xml><coption value={r'.Key}>{[r'.Display]}</coption></xml>) r.Choices} </cselect></xml> fun crender' r = <xml><cselect source={r.Selected}> {List.mapX (fn s => <xml><coption>{[s]}</coption></xml>) r.Choices} </cselect></xml>