Thiago has a project in Ars Machina that allows to use the hibernate
validators with Tapestry. U may find it useful

http://www.arsmachina.com.br/project/tapestrycrudhibernatevalidator

2009/9/16 Kristian Marinkovic <kristian.marinko...@porsche.co.at>:
> hi,
>
> the beandeditor cannot handle Hibernate annotations.
> you have to use the tapestry specific validators.
>
> g,
> kris
>
>
>
>
>
> cleverpig <greatclever...@gmail.com>
> 16.09.2009 11:28
> Bitte antworten an
> "Tapestry users" <users@tapestry.apache.org>
>
>
> An
> users@tapestry.apache.org
> Kopie
>
> Thema
> T5:hibernate @Length validator doesn't work
>
>
>
>
>
>
>
> hi,all!
>
> i got a trouble in hibernate @Length validator with Tapestry 5.1.
> i think it's a easy-meet problem for newbie(it's me).
>
> @Entity
> @Table(name="hello")
> public class Hello implements Serializable{
> ...
>                 @NotNull(message="{hello.message.notnull}")
>                 @Length(min=10,max=20)
>                 @Column(name="message",length=20)
>        private String message;
> ...
> }
>
> but i can update or create 'hello' record to database with beanEditForm.
>
> somebody got this?who can give me suggestiong? thanks!
> --
> cleverpig(Dan)
> Location: Beijing
> Address: Room 4018,No.A2 South Avenue Fuxingmen Beijing,P.R.China
> Zipcode: 100031
> MSN: great_liu...@hotmail.com
> QQ: 149291732
> Skype: cleverpigatmatrix
> Facebook ID:cleverpig
> Blog: www.cleverpig.name
> Tags: del.icio.us/cleverpig
> Twitter: twitter.com/cleverpig
> 新浪微博: t.sina.com.cn/cleverpig
> Organization: www.beijing-open-party.org
> or...@facebook: http://www.facebook.com/group.php?gid=8159558294
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to