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
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 helps.
Hello Francois,
On 11/12/07 3:28 AM, in article [EMAIL PROTECTED], "Francois
Armand" <[EMAIL PROTECTED]> wrote:
> I see at least two other way, one simple and one other a little more
> complicate.
>
> The first one is to use the "validate" parameter in a property editor
> override in the BeanEdi
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, o
Hi,
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 was hoping to be able to do this via the BeanModel, but I can't