• 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: ERXWOFileUpload / AjaxSubmitButton - filePath and data bindings empty
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERXWOFileUpload / AjaxSubmitButton - filePath and data bindings empty


  • Subject: Re: ERXWOFileUpload / AjaxSubmitButton - filePath and data bindings empty
  • From: Sergio Sánchez Maffet <email@hidden>
  • Date: Thu, 17 Dec 2009 23:21:18 +0100

Timo, list,

I can't believe it... ;-)
Is there any solution known?
How does the AjaxFileUpload do the trick?

Thank you,
Sergio

Am 17.12.2009 um 23:07 schrieb Timo Hoepfner:

Hi Sergio,

a file upload is technically not possible with an Ajax request. JavaScript cannot access the files on the file system, this is a security restriction.

Timo

Am 17.12.2009 um 23:00 schrieb Sergio Sánchez Maffet:

Dear list,

I'm using the latest WONDER build (from yesterday) and WO54.

Submitting a form using an AjaxSubmitButton with a WOFileUpload element (ERXWOFileUpload) ends up
with empty filePath and data bindings after super.takeValuesFromRequest in the corresponding component.
All other inputs and bindings are ok.
Using a WOSubmitButton as a test does work as expected.
Does the default form serializer handle file uploads correctly?
The input file element does have a name assigned (default context id).
Do I miss something here? Any ideas?


Regards,
Sergio
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: ERXWOFileUpload / AjaxSubmitButton - filePath and data bindings empty
      • From: Mike Schrag <email@hidden>
References: 
 >ERXWOFileUpload / AjaxSubmitButton - filePath and data bindings empty (From: Sergio Sánchez Maffet <email@hidden>)
 >Re: ERXWOFileUpload / AjaxSubmitButton - filePath and data bindings empty (From: Timo Hoepfner <email@hidden>)

  • Prev by Date: Re: ERXWOFileUpload / AjaxSubmitButton - filePath and data bindings empty
  • Next by Date: Re: ERXWOFileUpload / AjaxSubmitButton - filePath and data bindings empty
  • Previous by thread: Re: ERXWOFileUpload / AjaxSubmitButton - filePath and data bindings empty
  • Next by thread: Re: ERXWOFileUpload / AjaxSubmitButton - filePath and data bindings empty
  • Index(es):
    • Date
    • Thread