Re: [T5] BeanEditForm validations

2007-11-18 Thread Francois Armand
Kevin Menard wrote: This is an interesting approach, but way more overhead that I was hoping for. I guess I would have liked to see a way to do this via the PropertyConduit or something. So, I could do model.add(new_prop).addValidator(required); I guess I'll file a JIRA for that. Hello

Re: [T5] BeanEditForm validations

2007-11-13 Thread Hugo Palma
You can do your validations in the onSuccess method in your page class like what is described here http://tapestry.apache.org/tapestry5/tapestry-core/guide/validation.html All you do is access the edited object instance and use the BeanEditForm object to register the errors. Hope this

Re: [T5] BeanEditForm validations

2007-11-12 Thread Francois Armand
Kevin Menard wrote: Hi, Hello, Is there anyway to configure validation for a BeanEditForm other than with the Validate annotation? I'd like to have validation, but really can't apply the annotations because I'm working with classes coming out of a library. I see at least two other way,