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} {lastName}") private String lastName;

The error messages I get (client-side validation):

    Textfield Missing required parameter: first name
    Textfield 0 Missing required parameter: last name

How can I get rid of those "Textfield" and "Textfield 0" prefixes?

-- 
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

Reply via email to