• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Validating WOUpload form element before submitting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Validating WOUpload form element before submitting
      • From: Randall Perry <email@hidden>
References: 
 >Re: Validating WOUpload form element before submitting (From: Randall Perry <email@hidden>)

  • Prev by Date: Re: Validating WOUpload form element before submitting
  • Next by Date: Re: WOMailDelivery outside the firewall
  • Previous by thread: Re: Validating WOUpload form element before submitting
  • Next by thread: Re: Validating WOUpload form element before submitting
  • Index(es):
    • Date
    • Thread