See https://groups.google.com/forum/#!topic/google-web-toolkit/5KrtRLw6gYo for
usage of gwt 2.8.x with java6

On Wed, 7 Jun 2017 at 12:10 Daniel Kln <[email protected]> wrote:

> Hello everyone,
>
> i want to traverse a file system like in following example:
>
> function traverse(entry, path) {
>   path = path || "";
>   if (entry.isFile) {
>     // Get file
>     item.file(function(file) {
>       console.log("File:", path + file.name);
>     });
>   } else if (entry.isDirectory) {
>     // Get folder contents
>     var dirReader = entry.createReader();
>     dirReader.readEntries(function(entries) {
>       for (var i = 0; i < entries.length; i++) {
>         traverse(entries[i], path + entry.name + "/");
>       }
>     });
>   }
> }
>
> dropArea.addEventListener("drop", function(e) {
>   e.preventDefault();
>   var items = event.dataTransfer.items;
>   for (var i = 0; i < items.length; i++) {
>     var entry = items[i].webkitGetAsEntry();
>     if (entry) {
>       traverse(entry);
>     }
>   }
> }, false);
>
>
> My problem is, that in MS Edge it doesn't work. the error callback just 
> returns 'unknown error'.
> And i have really no idea why it is not working in MS Edge. FF and Chrome are 
> ok.
>
> I am using GWT 2.7 --> an update to 2.8 is not possible because i have to use 
> Java 6.
>
> I really hope that anyone of you has any idea for me
>
> Best Regards
>
> Daniel
>
> --
> 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.
>

-- 
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