title: Seam: Validation of s:fileUpload?
body: <p>I've got a JSF page that allows users to upload images.  I'd like to perform some validation on the uploaded file to ensure it's the correct size, dimensions, content type, etc.  I've created a JSF Validator, and have tried specifying it both in the <code>&lt;s:fileUpload validator="XXX" /&gt;</code> attribute, as well as using the <code>&lt;f:validator /&gt;</code> tag.  However, no matter what I try my validator is never called.  Is there any way to validate a file upload in Seam?  Would using <code>&lt;rich:fileUpload /&gt;</code> allow me to do validation on the uploaded file?</p>