1.1 --- a/examples/Common/PEP241/Resources/pep241_template.xhtml Thu Dec 23 15:07:37 2004 +0000
1.2 +++ b/examples/Common/PEP241/Resources/pep241_template.xhtml Thu Dec 23 15:07:53 2004 +0000
1.3 @@ -56,23 +56,14 @@
1.4 <tr>
1.5 <th colspan="2" class="heading">Discriminators</th>
1.6 </tr>
1.7 - <tr template:element="discriminators,discriminator">
1.8 - <th>Discriminator</th>
1.9 + <tr template:element="categories">
1.10 + <th>Categories</th>
1.11 <td>
1.12 - <select template:element="category" name="{template:field-name()}">
1.13 - <option template:element="category-enum" template:expr-attr="selected" template:expr="@value = ../@value" template:value="@value"
1.14 + <select template:element="category" name="{template:field-name()}" multiple="multiple">
1.15 + <option template:element="category-enum" template:expr-attr="selected" template:expr="@value-is-set" template:value="@value"
1.16 value="{@value}"></option>
1.17 </select>
1.18 -
1.19 - <input type="submit" value="Remove!"
1.20 - name="remove_discriminator={template:this-position()}"
1.21 - /></td>
1.22 - </tr>
1.23 - <tr>
1.24 - <th></th>
1.25 - <td>
1.26 - <input type="submit" value="Add discriminator!"
1.27 - name="add_discriminator={template:this-position()}" /></td>
1.28 + </td>
1.29 </tr>
1.30 <tr>
1.31 <th colspan="2" class="heading">Platforms</th>