Hi Thomas, currently, such features are still a wonderful and distant dream for me, as i'm tied to crossbrowser's applications (so glad they don't use IE6 anymore).
Ankit, I Strongly suggest you to take a look here: http://code.google.com/p/gwtupload I already used their components in some of my apps and it goes great. Regards, -- Guilherme Petterle Silveira Mussi Conrad Caine Media Applications GmbH Mobile: +55 53 91257012 Office: +55 53 30275721 "Any fool can know. The point is to understand." - Albert Einstein On Wed, May 5, 2010 at 11:25 AM, Thomas Broyer <[email protected]> wrote: > > > On May 5, 3:23 pm, Guilherme Mussi <[email protected]> wrote: > > Yes, you are right. Both use flash for the upload (You can right-click on > > "Attach a file" to check that). > > Unfortunately, native browser support for uploading files is not as > flexible > > as one would like. > > But it's getting better! > HTML5 defines a new .files property for <input type=file> that gives > you the file's name, size (in bytes) and content-type (as the browser > would send it on the wire in the multipart/form-data). > This is already implemented in Chrome 5 (beta and dev channels) and > Firefox 3.0+ > http://www.w3.org/TR/html5/forms.html#dom-input-files > > And there's the FileAPI that's already implemented in Firefox 3.6 and > gives you access to the files' *content* > http://www.w3.org/TR/FileAPI/ > > > If you are unable to use flash, i would recommend your servlet which will > > receive the file to trown a exception or validation error (depending on > your > > implementation) when the bytes of the stream reached the maximum size. > > Whether you can use Flash (or BrowserPlus, or HTML5, or Silverlight, > etc. [1]) or not, you should do that anyway. > > [1] http://www.plupload.com anyone willing to port it (or at least > wrap it) to GWT? > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
