File upload is done via either:

a) The FileUpload widget - if your happy for the user to select one
file at a time, or
b) Via a Flash Movie that allows multiple file selects.

Which ever option you choose you would then build your UI on-top since
you choose when to post the contents of FileUpload or the flash
approach to your file uploading servlet (or other).

If you don't want to roll your own flash movie / UI, and are happy to
have a GWT wrapper around an existing library, you could try swfupload-
gwt (http://www.ongwt.com/post/2009/03/14/A-GWT-wrapper-for-the-
SWFUpload-library  (via OnGWT)).

>From experience, if you do roll your own solution multiple select
solution then you will never get it pure GWT since you need a) a flash
movie and b) use of Flash's ExternalInterface command to make call
backs to GWT and JSNI to make calls from GWT to the Flash movie.  You
also need make sure you cope with the new Flash 10 security
restriction (must click on the flash movie to open the file select
rather than before, where you could click on a GWT component and send
that click to the flash movie).

//Adam

On 16 Mar, 06:51, "vaibhav.saxena" <[email protected]> wrote:
> Hi,
> I want to have the widget like the orkut photo upload. What they do
> they show the files to be upload in a list view and when upload file
> is clicked the files gets uploaded. How can i make the file upload
> without the use of File Upload widget provided. I know that it is
> possible as the GWT-UX provide this type of widget. may be they make
> use of the JSNI but i want to have it in core GWT.
>
> Thanks in advance
>
> Regards,
>  Vaibhav Saxena
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to