Otho wrote: > From skimming the sources I would guess that you need to provide your own > FieldValidator<Object> as a component parameter to <t:upload>
Thanks for the quick reply! I wrote the FieldValidator, but where do I register it and how do I set the component parameter? <t:upload t:validate="myValidator"> gives me this error: | Unknown validator type 'myValidator'. Configured validators are email, | max, maxlength, min, minlength, regexp, required. The class contains this code: | public FieldValidator<UploadedFile> getMyValidator() { | return new FieldValidator<UploadedFile>() { | ... | } | } Is there any documentation about how to use custom field validators? Regards Stephan --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org