Dear friends,

  i am trying to upload a file system image's content to my GWT site and i 
stumbled across this code:

   

   *public*


* final native void readAsDataURL(MyClass that, FileUpload input) /*-{
     var files = 
[email protected]::getElement()().files;
     var reader = new FileReader();  
     reader.onload = function (evt) {
         [email protected]::done(Ljava/lang/String;)(evt.target.result);
     }
     reader.readAsDataURL(files[0]);
    }-*/;*  I am assuming that some attribute of MyClass is receiving the 
image's content. But i dont know neither what
attribute is that nor how to choose another one.

  Could someone help me?

  Best Regards!

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to