Hey,

I have two dates in a bean object. One is a from date and other is a to date. I would like to do the following validations on the dates:

1. To date is after from Date
2. Difference between from and to date should not be more then 1 year.

Is there a way to do it in validation.xml?

Thanks asajnani