hi,
In booking example we see:
@NotNull(message="Credit card number is required") @Length(min=16, max=16, message="Credit card number must 16 digits long") @Pattern(regex="^\\d*$", message="Credit card number must be numeric") public String getCreditCard() { return creditCard; }
error.message = Credit card number must 16 digits long
@Length(min=16, max=16, message="#{error.message}")?
It's in the manual.
http://docs.jboss.com/seam/2.0.0.CR1/reference/en/html_single/#validation
(towards the end of the chapter)