• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

GWT: Ajax file upload?

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have seen in GWT upload file widget but it is only wrap HTML tag. But I am interesting about true AJAX widget for file upload which may support resume upload (very useful for large files). And can do upload in background.

Is there are any available in GWT? If you know about plans regarding such widget in GWT?

Below link to example of true AJAX file upload:
http://www.codeproject.com/useritems/AJAXUpload.asp
 
author
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Aljaxey.

I have a bit of an issue with them calling that project AJAXUpload. I think it would be more appropriate to call it ActiveXUpload.

In any case, you could use the AJAXUpload project from GWT by using the JavaScript Native Interface. GWT allows your Java code to interact with JavaScript, so anything that can be done in JS can be done in GWT.

As for GWT specific projects like this, there are none that I know of.
 
author
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Aljaxey,

I guess they call it AJAXUpload since it uses the HttpRequest object; but I do agree with Rob, it's not exactly AJAX - and it is limited to ActiveX platforms.

Aljaxey, you're right, the GWT widget is a wrapper to the standard html component - but that is the case (and benefit) for all GWT widgets.

Just thinking out loud without too much constraint - I wonder if you could do the same with a small Java applet and some JSNI to a GWT application. On second thoughts, I could just imagine the security issues you would have to resolve to get it to work......

//Adam
 
This tiny ad is suggesting that maybe she should go play in traffic.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic