This library uses the JSR 303 built-in message interpolation. Don't put messages for constraints into a Tapestry message catalog.
Read here: http://people.redhat.com/~ebernard/validation/#validationapi-message On Thu, Sep 30, 2010 at 4:13 PM, Dmitry Grigoriev <m...@dimgel.ru> wrote: > 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/resources/.../pages/UserEdit.properties: > > firstName.NotNull=User name must not be empty > {firstName.NotNull}=User name must not be empty > > No effect. Is some additional configuration required? And what must I do > if I want "default" message catalogs bound to entities, but with > opportunity to override some default messages for particular pages? > > Thanks in advance. :) > > -- > Cheers, > dimgel > > http://dimgel.ru/lib.web > Thin, stateless, strictly typed Scala web framework. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Best regards, Igor Drobiazko http://tapestry5.de