Mercurial > urweb
annotate tests/select.ur @ 2053:229a299d739d
Add tests/dbupload2.* files
tests/dbupload2.sh is a shell script which run the test scenario
On my machine the executable segfaults after curl request
author | Sergey Mironov <grrwlf@gmail.com> |
---|---|
date | Fri, 15 Aug 2014 07:11:31 +0000 |
parents | fe018cbdd41e |
children |
rev | line source |
---|---|
adamc@372 | 1 val handler = fn x => <xml><body> |
adamc@154 | 2 You entered: {cdata x.A} |
adamc@372 | 3 </body></xml> |
adamc@154 | 4 |
adamc@372 | 5 val main = fn () => <xml><body> |
adamc@372 | 6 <form> |
adamc@372 | 7 <select{#A}> |
adamc@372 | 8 <option value="A">A</option> |
adamc@372 | 9 <option value="B">B</option> |
adamc@372 | 10 </select> |
adamc@154 | 11 <submit action={handler}/> |
adamc@372 | 12 </form> |
adamc@372 | 13 </body></xml> |