Re: Validating WOUpload form element before submitting
Re: Validating WOUpload form element before submitting
- Subject: Re: Validating WOUpload form element before submitting
- From: Arturo Perez <email@hidden>
- Date: Tue, 20 Apr 2004 13:09:06 -0400
Randall Perry wrote:
Seems like a MAJOR omission to me to have a WOForm component with no methods
to do form validation other than Javascript.
That's not literally true. It's just that what you want to do isn't
possible with the HTTP protocol as defined. IIRC, you want to send the
filename for an upload before sending the file all as part of a file
upload so that you can validate the filename.
You should investigate how WO does validation before making statements
such as the above: validateForSave, validateForInsert,
validateTakeValueForKey, validationFailedWithException.
My beef with WO and its validation is that it doesn't have the nice
Struts feature (only nicety I've seen, so far) of automatically
generating JavaScript validation for you.
-arturo
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.