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=32760>. 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=32760 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Validator Framework |Validator Product|Struts |Commons Version|1.2.4 |unspecified ------- Additional Comments From [EMAIL PROTECTED] 2004-12-18 00:02 ------- This does look like a bug, but not with validwhen - validwhen does not have any javascript validations, only server side. The error you are seeing is that the credit card validator is taking the <var> you define (test) and using it as part of its validation, which it shouldn't do. So while this is probably a bug, it is not the bug you think it is. There are 2 things you can try - first try making the depends be validwhen,creditCard instead of creditCard,validwhen If that doesn't work, try breaking the creditCard and validwhen validations up into separate <field property ...> elements and see if that fixes the problem. (I am reasonably sure this works, but can't find the example in my code right now!) -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]