struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31514] - Either insufficient docs on validwhen or a bug
Date Sun, 03 Oct 2004 03:47:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31514>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31514

Either insufficient docs on validwhen or a bug





------- Additional Comments From yegor.jbanov@spicesoft.com  2004-10-03 03:47 -------

Sorry for being inaccurate.

What I meant is that it never passes validation. After a more deep testing 
session I figured out what the problem was. Seems like I got confused by the 
phrase from the docs:

"If both items to be compared are convertable to ints, a numeric comparison is 
done, otherwise a string comparison is done."

Especially the word 'convertable'. The values are integers but are stored in 
the form bean as strings. That's why for example "14" comes before "2" and made 
me think that the validator always returned false.

Thank you!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message