• 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: Randall Perry <email@hidden>
  • Date: Wed, 21 Apr 2004 15:14:00 -0400

on 4/20/04 1:09 PM, Arturo Perez at email@hidden wrote:

> 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.
I was thought the validation that was available was for EO Objects only.

> 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.
Actually, that's kinda what I meant...WO generating javascript validation as
part of the component.


--
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales

http://www.systame.com/
_______________________________________________
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.


References: 
 >Re: Validating WOUpload form element before submitting (From: Arturo Perez <email@hidden>)

  • Prev by Date: libwrap app: MyApp REFUSED connection from: paranoid???
  • Next by Date: Re: Validating WOUpload form element before submitting
  • Previous by thread: Re: Validating WOUpload form element before submitting
  • Next by thread: Re: Validating WOUpload form element before submitting
  • Index(es):
    • Date
    • Thread