Hello again :) I've just added some validation to my custom component and I'm having trouble with the regexp validator. As per the "forms" tutorial on the T5 site I've placed a @Validate annotation on my getEmail() accessor:
@Validate("required,regexp") public String getEmail() { return email; } I've created a message catalogue in the same package as the component and added some validation stuff: email-regexp=(\\w+)@(\\w+\\.)(\\w+)(\\.\\w+)* email-regexp-message=that appears to be an invalid email format, please check it But Tapestry is complaining that the regexp validator requires a validation constraint - it's as if it dosen't understand the entry in the catalogue. The component can see the catalogue becuase i'm also using the message: prefix elsewhere in this component, it's just the regexp stuff it's struggling with. Any ideas? Thanks Toby