commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22046] - field validation for a list of fields
Date Tue, 03 Feb 2004 10:10:36 GMT
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 sander@func.nl  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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message