tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Drobiazko <igor.drobia...@gmail.com>
Subject Re: Hibernate Validator 4 released, any plans for adding support in T5?
Date Tue, 13 Oct 2009 20:31:14 GMT
If I understood you correctly you suggest the approach of the annotation
based ValidationConstraintGenerator. Right?

On Tue, Oct 13, 2009 at 10:14 PM, Thiago H. de Paula Figueiredo <
thiagohp@gmail.com> wrote:

> Em Tue, 13 Oct 2009 16:59:35 -0300, Igor Drobiazko <
> igor.drobiazko@gmail.com> escreveu:
>
>  One thing that is easy to do is to provide Validator implementations based
>>> on annotations (@NotNull -> required, @Min(n) -> min=n), etc.
>>>
>>
>  I would not do it this way. Just image a bean which is used in several
>> projects (rich clients and tapestry apps). You want your validation work
>> same in all your apps.
>>
>
> I'm not following you: why it would work differently in different apps, as
> long as they're using the same validation annotation API? I'm already using
> that approach and it works very well.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>


-- 
Best regards,

Igor Drobiazko

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message