Mercurial > urweb
annotate tests/subform.ur @ 2174:ce312cad5ecd
Use correct OpenSSL thread safety macros on OS X (closes #209)
Create an Autoconf test to determine if pthread_t is a pointer or scalar
type, and use the appropriate CRYPTO_THREADID_set macro based on the
result.
author | Benjamin Barenblat <bbaren at mit.edu> |
---|---|
date | Sun, 20 Sep 2015 17:46:07 -0400 |
parents | 8ce31c052dce |
children |
rev | line source |
---|---|
adamc@756 | 1 fun handler r = return <xml><body> |
adamc@756 | 2 {[r.A]}, {[r.Sub.A]}, {[r.Sub.B]}, {[r.Sub.Sub]}, {[r.C]} |
adamc@756 | 3 </body></xml> |
adamc@756 | 4 |
adamc@756 | 5 fun main () = return <xml><body> |
adamc@756 | 6 <form> |
adamc@756 | 7 <textbox{#A}/><br/> |
adamc@756 | 8 <subform{#Sub}> |
adamc@756 | 9 <textbox{#A}/><br/> |
adamc@756 | 10 <textbox{#B}/><br/> |
adamc@756 | 11 <textbox{#Sub}/><br/> |
adamc@756 | 12 </subform> |
adamc@756 | 13 <textbox{#C}/><br/> |
adamc@756 | 14 <submit action={handler}/> |
adamc@756 | 15 </form> |
adamc@756 | 16 </body></xml> |