Re: Passing two fields to a custom validator

2006-07-21 Thread Niall Pemberton
All the validations packaged with Struts have the ActionForm passed to the validation method and then they retrieve the property using reflection: String value = ValidatorUtils.getValueAsString(bean, field.getProperty()); So you can just get the two property values from the ActionForm in your va

Passing two fields to a custom validator

2006-07-21 Thread Scott Van Wart
I have a custom validation routine (class mapped through validator-rules.xml). I'd like to be able to pass two fields to my routine rather than just one. Is there any way of doing this? - Scott - To unsubscribe, e-mail: [EMAI