There is a project called swfupload-gwt, which embeds multi-file upload capabilities into gwt application. We are using that in several applications, so it is quite stable. Without Flash you can opt for HTML5 upload, which also supports multi- file selection.
http://code.google.com/p/swfupload-gwt/ Dmitry On Jul 29, 5:11 am, cy dev <[email protected]> wrote: > i am working out a multiple file upload module with gwt (which can > support multi-file selection). the most > available tool i can find is swfupload, however the samples provided > seems to work with php platform only. > > the progress i am working is to create a HTML widget and embed the > flash button <object>, the select dialog prompts and allow multiple > selection. however i have no idea how (or if it is possible) to post > to server, get status response etc. > > gmail seems to do the same to embed the flash button for attaching > files. can someone share experience about this? any samples? > thanks. > > the object i am embedding is: > <object id="SWFUpload_0" type="application/x-shockwave-flash" > data="../ > swfupload/swfupload.swf?preventswfcaching=1280303624557" width="270" > height="22" class="swfupload"> > <param name="wmode" value="window" /> > <param name="movie" value="../swfupload/swfupload.swf? > preventswfcaching=1280303624557" /> > <param name="quality" value="high" /> > <param name="allowScriptAccess" value="always" /> > <param name="flashvars" > value="movieName=SWFUpload_0&uploadURL= > %2Fv250beta3%2Ffeaturesdemo%2Fupload.php%3Fget_name > %3Dget_value&useQueryString=false&requeueOnError=false&httpSuccess=123%2C444&assumeSuccessTimeout=25&params=post_name1%3Dpost_value1%26amp > %3Bpost_name2%3Dpost_value2&filePostName=Filedata&fileTypes=*.*&fileTypesDescription=All > %20Files&fileSizeLimit=100%20MB&fileUploadLimit=10&fileQueueLimit=0&debugEnabled=true&buttonImageURL= > %2Fimages > %2Fbutton_270x22.png&buttonWidth=270&buttonHeight=22&buttonText= > %3Cspan%20class%3D%22btnText%22%3ESelect%20Files...%3C%2Fspan > %3E&buttonTextTopPadding=3&buttonTextLeftPadding=100&buttonTextStyle=.btnText > %20%7B%20font-size%3A%2010%3B%20font-weight%3A%20bold%3B%20font-family > %3A%20MS%20Shell%20Dlg%3B > %20%7D&buttonAction=-110&buttonDisabled=false&buttonCursor=-1" / > > </object> -- 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.
