blob: d2d94929e8d31c9f22b1c0768ee8cb888be73472 [file] [log] [blame]
<?xml version="1.0"?>
<page xmlns:wt="http://apache.org/cocoon/woody/template/1.0">
<title>Upload Sample</title>
<content>
<para>
For this example to work, you must enable uploads in your web.xml file.
</para>
<wt:form-template action="#{$continuation/id}.continue" method="POST" enctype="multipart/form-data">
<table>
<tr>
<td valign="top"><wt:widget-label id="user"/></td>
<td valign="top"><wt:widget id="user"/></td>
</tr>
<tr>
<td valign="top"><wt:widget-label id="upload"/></td>
<td valign="top"><wt:widget id="upload"/></td>
</tr>
</table>
<input type="submit"/>
</wt:form-template>
</content>
</page>