Mercurial > gui
view select.ur @ 34:2d195bee1efa
CKeditor wrapper
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 21 Nov 2013 18:19:02 -0500 |
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>