Yous should provide labels for your input fields.
On Mon, Oct 11, 2010 at 11:45 AM, Dmitry Grigoriev <[email protected]> wrote:
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Best regards,
Igor Drobiazko
http://tapestry5.de