I know this will only work in Firefox and Chrome...
I have access to a HTML5 Blob (JavaScripObject) through Drag&Drop and
now I want to set the value or add it to FileUpload. I'm wanting to do
this all with HTML Forms and direct communication with the Browser to
Amazon S3 bypassing any server:
http://docs.amazonwebservices.com/AmazonS3/latest/dev/HTTPPOSTForms.html
I've created my FormPanel() added all the necessary Policies,
Signatures, bucket, key, etc I've added FileUpload to the form but how
to I add my HTML5 File or Blob?
I've tried creating an inputElement, setting my JavaScriptObject Blob
to it and then calling FileUpload.wrap(inputElement) - no good.
Any ideas on how to attach my JavaScripObject Blob to FileUpload
(simulating a file select in the chooser)
Hope that makes sense.
Thanks!
Dana