DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22046>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22046

field validation for a list of fields





------- Additional Comments From [EMAIL PROTECTED]  2004-02-03 10:10 -------
We are using a simmilar construct, however our errors are marshalled to XML. The
problem seems to be the hashmap, errors are indexed by a key. The key in case of
indexedValues is nameOfError[], mind the lack of index.

Thus the error hashmap only contains one error for each set of lines. In the xml
this shows up as:

<error property="adultOverviewLines[0].lastname"
name="passengerForm.passenger.adult.lastname.error">
<text>You must fill in the lastname field of an adult.</text>
</error>

Even if adultOverviewLines[1].lastname was also empty.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to