Mercurial > gui
view select.ur @ 26:86857ae0f386
Change more dashes to slashes, for JavaScript compatibility
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Fri, 09 Dec 2011 17:38:20 -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>