Hi, See AbstractFormValidator. Use any of the provided implementations of this class as inspiration.
On Thu, Nov 28, 2013 at 9:48 AM, Edgar Merino <[email protected]> wrote: > Hello, I have a class that defines 2 properties that depend on each other > (start and end dates). Currently, I have to provide getters and setters for > this properties and then call a validator method inside > Form#onValidateModelObjects(). It would be preferable to just provide the > getters and a single method to set and validate the 2 dependent properties. > > Is there a way to accomplish this? > Thanks in advance. > Edgar Merino > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
