Try this project http://code.google.com/p/tapestry-validator/


cleverpig-2 wrote:
> 
> 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
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/T5%3Ahibernate-%40Length-validator-doesn%27t-work-tp25468952p25720525.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to