haul 2003/12/06 12:01:17
Modified: src/webapp/samples/simpleform/two form.xml
src/webapp/samples/simpleform/three form.xml
src/webapp/samples/simpleform/four form.xml
Log:
Add markup to error tags
Revision Changes Path
1.3 +14 -12 cocoon-2.1/src/webapp/samples/simpleform/two/form.xml
Index: form.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/simpleform/two/form.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- form.xml 1 Oct 2003 14:50:15 -0000 1.2
+++ form.xml 6 Dec 2003 20:01:17 -0000 1.3
@@ -82,19 +82,21 @@
</repeat>
<tr>
<td colspan="2">
- <error name="*"
when-ge="error">An error occurred. Please check your input and the messages
below for more information.</error>
- <error name="persons"
when="too-small">The smallest car seats 2.</error>
- <error name="persons"
when="too-large">The largest car seats 9.</error>
- <error name="deposit"
when="too-small">The deposit needs to be at least EUR 50.</error>
- <error name="deposit"
when="is-null">Please specify a deposit.</error>
- <error name="email"
when="is-null">Please fill in an email address.</error>
- <error name="email"
when="no-match">Your email seems incorrect. Please fill in a correct email
address.</error>
- <error name="address"
when="is-null">Please fill in a billing address.</error>
- <error name="address"
when="too-small">Your address seems to be incorrect. Please fill in a correct
billing address.</error>
- <error name="type"
when="is-null">Please select the type of car you would like to drive.</error>
- <error name="type"
when="no-match">Please select one of the existing type of car.</error>
+ <ol>
+ <li><error name="*"
when-ge="error">An error occurred. <span style="background-color:
#aaaaaa;">Please check your input and the messages below</span> for more <br />
information.</error></li>
+ <li><error
name="persons" when="too-small">The smallest car <br /> seats 2.</error></li>
+ <li><error
name="persons" when="too-large">The largest car <br /> seats 9.</error></li>
+ <li><error
name="deposit" when="too-small">The deposit needs to be <br /> at least EUR
50.</error></li>
+ <li><error
name="deposit" when="is-null">Please specify a <br /> deposit.</error></li>
+ <li><error name="email"
when="is-null">Please fill in an <br /> email address.</error></li>
+ <li><error name="email"
when="no-match">Your email seems incorrect. <br /> Please fill in a correct
email address.</error></li>
+ <li><error
name="address" when="is-null">Please fill in a <br /> billing
address.</error></li>
+ <li><error
name="address" when="too-small">Your address seems <br /> to be incorrect.
Please fill in a correct billing address.</error></li>
+ <li><error name="type"
when="is-null">Please select the type of car <br /> you would like to
drive.</error></li>
+ <li><error name="type"
when="no-match">Please select one of <br /> the existing type of
car.</error></li>
- <error name="driver"
when="error">Please enter at least one valid driver's name.</error>
+ <li><error
name="driver" when="error">Please enter at least <br /> one valid driver's
name.</error></li>
+ </ol>
</td>
</tr>
<tr>
1.3 +14 -12 cocoon-2.1/src/webapp/samples/simpleform/three/form.xml
Index: form.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/simpleform/three/form.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- form.xml 1 Oct 2003 14:50:16 -0000 1.2
+++ form.xml 6 Dec 2003 20:01:17 -0000 1.3
@@ -97,19 +97,21 @@
</repeat>
<tr>
<td colspan="2">
- <error name="*"
when-ge="error">An error occurred. Please check your input and the messages
below for more information.</error>
- <error name="persons"
when="too-small">The smallest car seats 2.</error>
- <error name="persons"
when="too-large">The largest car seats 9.</error>
- <error name="deposit"
when="too-small">The deposit needs to be at least EUR 50.</error>
- <error name="deposit"
when="is-null">Please specify a deposit.</error>
- <error name="email"
when="is-null">Please fill in an email address.</error>
- <error name="email"
when="no-match">Your email seems incorrect. Please fill in a correct email
address.</error>
- <error name="address"
when="is-null">Please fill in a billing address.</error>
- <error name="address"
when="too-small">Your address seems to be incorrect. Please fill in a correct
billing address.</error>
- <error name="type"
when="is-null">Please select the type of car you would like to drive.</error>
- <error name="type"
when="no-match">Please select one of the existing type of car.</error>
+ <ol>
+ <li><error name="*"
when-ge="error">An error occurred. <span style="background-color:
#aaaaaa;">Please check your input and the messages below</span> for more <br />
information.</error></li>
+ <li><error
name="persons" when="too-small">The smallest car <br /> seats 2.</error></li>
+ <li><error
name="persons" when="too-large">The largest car <br /> seats 9.</error></li>
+ <li><error
name="deposit" when="too-small">The deposit needs to be <br /> at least EUR
50.</error></li>
+ <li><error
name="deposit" when="is-null">Please specify a <br /> deposit.</error></li>
+ <li><error name="email"
when="is-null">Please fill in an <br /> email address.</error></li>
+ <li><error name="email"
when="no-match">Your email seems incorrect. <br /> Please fill in a correct
email address.</error></li>
+ <li><error
name="address" when="is-null">Please fill in a <br /> billing
address.</error></li>
+ <li><error
name="address" when="too-small">Your address seems <br /> to be incorrect.
Please fill in a correct billing address.</error></li>
+ <li><error name="type"
when="is-null">Please select the type of car <br /> you would like to
drive.</error></li>
+ <li><error name="type"
when="no-match">Please select one of <br /> the existing type of
car.</error></li>
- <error name="driver"
when="error">Please enter at least one valid driver's name.</error>
+ <li><error
name="driver" when="error">Please enter at least <br /> one valid driver's
name.</error></li>
+ </ol>
</td>
</tr>
<tr>
1.3 +14 -12 cocoon-2.1/src/webapp/samples/simpleform/four/form.xml
Index: form.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/simpleform/four/form.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- form.xml 1 Oct 2003 14:50:17 -0000 1.2
+++ form.xml 6 Dec 2003 20:01:17 -0000 1.3
@@ -95,19 +95,21 @@
</repeat>
<tr>
<td colspan="2">
- <error name="*"
when-ge="error">An error occurred. Please check your input and the messages
below for more information.</error>
- <error name="persons"
when="too-small">The smallest car seats 2.</error>
- <error name="persons"
when="too-large">The largest car seats 9.</error>
- <error name="deposit"
when="too-small">The deposit needs to be at least EUR 50.</error>
- <error name="deposit"
when="is-null">Please specify a deposit.</error>
- <error name="email"
when="is-null">Please fill in an email address.</error>
- <error name="email"
when="no-match">Your email seems incorrect. Please fill in a correct email
address.</error>
- <error name="address"
when="is-null">Please fill in a billing address.</error>
- <error name="address"
when="too-small">Your address seems to be incorrect. Please fill in a correct
billing address.</error>
- <error name="type"
when="is-null">Please select the type of car you would like to drive.</error>
- <error name="type"
when="no-match">Please select one of the existing type of car.</error>
+ <ol>
+ <li><error name="*"
when-ge="error">An error occurred. <span style="background-color:
#aaaaaa;">Please check your input and the messages below</span> for more <br />
information.</error></li>
+ <li><error
name="persons" when="too-small">The smallest car <br /> seats 2.</error></li>
+ <li><error
name="persons" when="too-large">The largest car <br /> seats 9.</error></li>
+ <li><error
name="deposit" when="too-small">The deposit needs to be <br /> at least EUR
50.</error></li>
+ <li><error
name="deposit" when="is-null">Please specify a <br /> deposit.</error></li>
+ <li><error name="email"
when="is-null">Please fill in an <br /> email address.</error></li>
+ <li><error name="email"
when="no-match">Your email seems incorrect. <br /> Please fill in a correct
email address.</error></li>
+ <li><error
name="address" when="is-null">Please fill in a <br /> billing
address.</error></li>
+ <li><error
name="address" when="too-small">Your address seems <br /> to be incorrect.
Please fill in a correct billing address.</error></li>
+ <li><error name="type"
when="is-null">Please select the type of car <br /> you would like to
drive.</error></li>
+ <li><error name="type"
when="no-match">Please select one of <br /> the existing type of
car.</error></li>
- <error name="driver"
when="error">Please enter at least one valid driver's name.</error>
+ <li><error
name="driver" when="error">Please enter at least <br /> one valid driver's
name.</error></li>
+ </ol>
</td>
</tr>
<tr>