Thursday, July 29, 2010

Re: swfupload with gwt

Did you try gwt-plupload project? http://code.google.com/p/gwt-plupload/

Plupload project seem to have nice examples which fits your needs.

Peter

On 28. Júl, 18:57 h., cy dev <cydevelo...@gmail.com> wrote:
> i am working out a multiple file upload module with gwt.  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&amp;uploadURL=
> %2Fv250beta3%2Ffeaturesdemo%2Fupload.php%3Fget_name
> %3Dget_value&amp;useQueryString=false&amp;requeueOnError=false&amp;httpSucc ess=123%2C444&amp;assumeSuccessTimeout=25&amp;params=post_name1%3Dpost_valu e1%26amp
> %3Bpost_name2%3Dpost_value2&amp;filePostName=Filedata&amp;fileTypes=*.*&amp ;fileTypesDescription=All
> %20Files&amp;fileSizeLimit=100%20MB&amp;fileUploadLimit=10&amp;fileQueueLim it=0&amp;debugEnabled=true&amp;buttonImageURL=
> %2Fimages
> %2Fbutton_270x22.png&amp;buttonWidth=270&amp;buttonHeight=22&amp;buttonText =
> %3Cspan%20class%3D%22btnText%22%3ESelect%20Files...%3C%2Fspan
> %3E&amp;buttonTextTopPadding=3&amp;buttonTextLeftPadding=100&amp;buttonText Style=.btnText
> %20%7B%20font-size%3A%2010%3B%20font-weight%3A%20bold%3B%20font-family
> %3A%20MS%20Shell%20Dlg%3B
> %20%7D&amp;buttonAction=-110&amp;buttonDisabled=false&amp;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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment