Re: JSR303: Tapestry prepends error messages with "Textfield".

2010-10-12 Thread Dmitry Grigoriev
Thank you. :) solved the problem. On 10/11/2010 10:36 PM, Igor Drobiazko wrote: > Yous should provide labels for your input fields. > > -- Cheers, dimgel http://dimgel.ru/lib.web Thin, stateless, strictly typed Scala web framework. ---

JSR303: Tapestry prepends error messages with "Textfield".

2010-10-11 Thread Dmitry Grigoriev
Hello all, My ValidationMessages.properties looks like this: missing=Missing required parameter: firstName=first name lastName=last name Entity fields are annotated like this: @NotNull(message = "{missing} {firstName}") private String firstName; @NotNull(message = "{missing

Custom message catalogs for JSR303 BeanValidator?

2010-09-30 Thread Dmitry Grigoriev
Hello all! Please help. I cannot find how to specify subj. Tried adding @NotNull(message = "{firstName.NotNull}") with and without curly braces to my entities.User class's firstName field and putting next property file into both src/main/resources/.../entities/User.properties and src/main/resourc