-<page xmlns:ft="http://apache.org/cocoon/forms/1.0#template" xmlns:fi="http://apache.org/cocoon/forms/1.0#instance" xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
<title xmlns:bu="http://apache.org/cocoon/browser-update/1.0">Form libraries sample</title>
-<content>
-<fi:form-template action="59741379195c724b047a84537d05726935387323.continue" method="POST">
-<fi:group>
<fi:styling layout="columns"/>
-<fi:items>
-<fi:field id="field1" state="active" required="false">
<fi:label>Field1:</fi:label>
<fi:value/>
<fi:datatype type="string"/>
</fi:field>
-<fi:field id="field1-2" state="active" required="false">
<fi:label>Field1-2:</fi:label>
<fi:datatype type="string"/>
</fi:field>
-<fi:field id="field2" state="active" required="false">
-<fi:help>
This is help text set by the library.
<small>Anyway, the point of all this was to show a popup help with mixed html content.</small>
</fi:help>
<fi:label>Field2:</fi:label>
<fi:datatype type="string"/>
</fi:field>
-<fi:field id="myField3" state="active" required="false">
-<fi:help>
help test from the form model
<small>Anyway, the point of all this was to show a popup help with mixed html content.</small>
</fi:help>
<fi:label>Field3:</fi:label>
<fi:datatype type="string"/>
</fi:field>
-<fi:field id="myField4" state="active" listening="true" required="false">
-<fi:help>
This is help text set by the library.
<small>Anyway, the point of all this was to show a popup help with mixed html content.</small>
</fi:help>
<fi:label>Field4:</fi:label>
<fi:datatype type="string"/>
</fi:field>
-<fi:field id="myField5" state="active" required="false">
-<fi:help>
This is help text set by the library.
<small>Anyway, the point of all this was to show a popup help with mixed html content.</small>
</fi:help>
<fi:label>Field5:</fi:label>
<fi:datatype type="string"/>
</fi:field>
-<fi:multivaluefield id="myBeer" state="active">
<fi:label>Indicate which 2 of the following drinks you'd like to receive:</fi:label>
<fi:values/>
-<fi:selection-list>
-<fi:item value="Amstel">
<fi:label>Amstel</fi:label>
</fi:item>
-<fi:item value="Heineken">
<fi:label>Heineken</fi:label>
</fi:item>
-<fi:item value="Erdinger">
<fi:label>Erdinger</fi:label>
</fi:item>
-<fi:item value="Ottakringer">
<fi:label>Ottakringer</fi:label>
</fi:item>
</fi:selection-list>
</fi:multivaluefield>
-<fi:field id="myEmail" state="active" required="true">
<fi:help> global email adress </fi:help>
<fi:label>Enter your customer's email adress: (inherited)</fi:label>
<fi:datatype type="string"/>
</fi:field>
-<fi:field id="myAccount" state="active" required="false">
-<fi:label>
Indicate the size of your bank account (in m
<sup>3</sup>
):
</fi:label>
-<fi:selection-list>
-<fi:item value="1">
<fi:label>1</fi:label>
</fi:item>
-<fi:item value="2">
<fi:label>2</fi:label>
</fi:item>
-<fi:item value="3">
<fi:label>three</fi:label>
</fi:item>
-<fi:item value="4">
<fi:label>4</fi:label>
</fi:item>
-<fi:item value="5">
<fi:label>5</fi:label>
</fi:item>
</fi:selection-list>
<fi:datatype type="string"/>
</fi:field>
-<fi:field id="myAccount1" state="active" required="false">
-<fi:label>
Indicate the size of your bank account (in m
<sup>3</sup>
): (inherited)
</fi:label>
-<fi:selection-list>
-<fi:item value="6">
<fi:label>6</fi:label>
</fi:item>
-<fi:item value="7">
<fi:label>7</fi:label>
</fi:item>
-<fi:item value="8">
<fi:label>eight</fi:label>
</fi:item>
-<fi:item value="9">
<fi:label>9</fi:label>
</fi:item>
-<fi:item value="10">
<fi:label>10</fi:label>
</fi:item>
</fi:selection-list>
<fi:datatype type="string"/>
</fi:field>
</fi:items>
</fi:group>
<br/>
<fi:repeater-size id="contacts" state="active" size="0"/>
-<table border="1">
-<tr>
<th>Firstname </th>
<th>Lastname </th>
<th>Phone </th>
<th>Email </th>
<th>Birthdate (dd/MM/yyyy): </th>
<th>Select </th>
</tr>
-<tr>
-<td colspan="6" align="center">
<em>There are no contacts to display</em>
</td>
</tr>
-<tr>
-<td colspan="6">
-<fi:action id="addcontact" state="active">
<fi:label>Add Contact</fi:label>
</fi:action>
</td>
</tr>
</table>
-<p>
<em>Recursive inter-library class/new inclusion madness:</em>
</p>
-<table border="1">
-<tr>
-<td>
-<fi:action id="addfields-rec-1" state="active">
<fi:label>Add row</fi:label>
</fi:action>
</td>
</tr>
</table>
<input type="submit"/>
</fi:form-template>
</content>
</page>