Actually client-side validation works for me with files.  I am testing if the
file is of a certain extension so I always make sure I am uploading files. 
I guess Ill pull down the source and debug it.

Thanks for the help.

Zack


Hmm... are you testing not uploading a file? because if there is no
file uploaded then the UploadFile object will be null. You should make
sure you handle that case because I don't believe the javascript
validation will work on a file upload field.

You might want to grab the source for the upload component and step
through the processSubmission method.

Josh

On Fri, May 2, 2008 at 11:32 AM, zack1403 <[EMAIL PROTECTED]> wrote:
>
>
>
> Your example is very incomplete and thus hard to debug. What version
> of tapestry are you using?
>
> I'm guessing that the "web" in your method is supposed to be "up"? Do
> you have proper getter/setter methods for your uploadfile?
>
> Josh

-- 
View this message in context: 
http://www.nabble.com/onValidate-NPE-tp17024869p17027833.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to