file upload once again

72 views
Skip to first unread message

FrugoFrog

unread,
Aug 10, 2011, 11:52:02 AM8/10/11
to google-web-toolkit
What is google docs using for file upload i that it allows multi-selection?

cheers

Jim Douglas

unread,
Aug 10, 2011, 12:05:33 PM8/10/11
to Google Web Toolkit
public void setMultiple(boolean multiple)
{
fileUpload.getElement().setPropertyBoolean("multiple", multiple);

FrugoFrog

unread,
Aug 10, 2011, 4:55:46 PM8/10/11
to google-we...@googlegroups.com
Is this for just uploading multiple files with one form or selecting
many of them?
I might have been imprecise I meant a widget that allows you to choose
a few files in choose dialog.
I know about swfupload-gwt but I can't get it to work.
thanks

2011/8/10 Jim Douglas <jdo...@basis.com>:

> --
> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> To post to this group, send email to google-we...@googlegroups.com.
> To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

Jim Douglas

unread,
Aug 10, 2011, 5:46:42 PM8/10/11
to Google Web Toolkit
Did you try it? If the browser's file upload widget supports multiple-
input, then that will enable it. The actual look and feel of the
widget is entirely under the control of the browser; it's an <input
type="file"> element. FWIW, here's how it looks in Mac/Chrome:

http://screencast.com/t/8UzdZoHB

http://hacks.mozilla.org/2009/12/multiple-file-input-in-firefox-3-6/
http://www.quirksmode.org/dom/inputfile.html
http://www.w3.org/TR/html-markup/input.file.html

On Aug 10, 1:55 pm, FrugoFrog <frugof...@gmail.com> wrote:
> Is this for just uploading multiple files with one form or selecting
> many of them?
> I might have been imprecise I meant a widget that allows you to choose
> a few files in choose dialog.
> I know about swfupload-gwt but I can't get it to work.
> thanks
>
> 2011/8/10 Jim Douglas <jdou...@basis.com>:

Nick Siderakis

unread,
Aug 12, 2011, 9:13:21 AM8/12/11
to google-we...@googlegroups.com
take a look at the code in http://code.google.com/p/upload4gwt/, its not a polished library (yet), but its still usable.  also the links might provide some useful resources.

hope it helps :D

J.Ganesan

unread,
Aug 15, 2011, 7:44:43 AM8/15/11
to Google Web Toolkit
Try
http://code.google.com/p/gwt-fileapi/
http://code.google.com/p/lib-gwt-file/

There is a way to drag and drop the files for uploading.

J.Ganesan
www.DataStoreGwt.com

On Aug 12, 6:13 pm, Nick Siderakis <nix...@gmail.com> wrote:
> take a look at the code inhttp://code.google.com/p/upload4gwt/, its not a
Reply all
Reply to author
Forward
0 new messages