summaryrefslogtreecommitdiff
path: root/tests/subforms.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/subforms.ur')
-rw-r--r--tests/subforms.ur10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/subforms.ur b/tests/subforms.ur
index 3db55a43..cf5d0ba4 100644
--- a/tests/subforms.ur
+++ b/tests/subforms.ur
@@ -4,7 +4,9 @@ fun handler' ls =
| Cons (r, ls) => <xml><li>{[r.A]}, {[r.B]}, {[r.Sub]}</li>{handler' ls}</xml>
fun handler r = return <xml><body>
- {[r.A]}, {handler' r.Sub}, {[r.C]}
+ {[r.A]}<br/>
+ {handler' r.Sub}
+ {[r.C]}
</body></xml>
fun main () = return <xml><body>
@@ -16,6 +18,12 @@ fun main () = return <xml><body>
<textbox{#B}/><br/>
<textbox{#Sub}/><br/>
</entry>
+
+ <entry>
+ <textbox{#A}/><br/>
+ <textbox{#B}/><br/>
+ <textbox{#Sub}/><br/>
+ </entry>
</subforms>
<textbox{#C}/><br/>
<submit action={handler}/>