Re: [T4]. multiple file upload. Help.
That demo doesn't work under Safari, BTW. For start, the mime types for the .js files are text/jhtm, so it ignores them. Norman Franke Answering Service for Directors, Inc. www.myasd.com On Aug 4, 2009, at 9:26 AM, Juan E. Maya wrote: But DWR does make it pretty easy! Thanks a lot for the tip :) I just read found this article: http://fisheye5.cenqua.com/browse/~raw,r=1.2/dwr/web/fileupload/ index.html I had a similar problem last month and this may helped me improve the messy js i have for my the iframe handling. Thanks again! On Tue, Aug 4, 2009 at 3:20 PM, Lance Java wrote: Yes.. your correct... you can't do it with XHR... you need a form and an iframe. It gives you an AJAX-like effect. 2009/8/4 Juan E. Maya I would really like to see how is possible to upload documents via ajax. As long as i have seen DWR uses an IFrame. what do u mean by a hidden form? Do u have any examples? On Tue, Aug 4, 2009 at 3:01 PM, Lance Java wrote: This is not exactly true... you can use a hidden form. This may require a bit of javascript to move the file objects to the hidden form, post the the form then move them back to their visible location. DWR uses this trick. Browser security is such that you can not set the value of a file object with javascript, the user must do this. 2009/8/4 Juan E. Maya Ajax doesn't allow to use multipart forms, therefore u can't upload files using ajax. If u check carefully google is using a flash control for this. U could also try to mess around with iframes but it's a big mess.. This flash controller could be useful for u: http:// swfupload.org/ if u decide to go for a flash based control On Tue, Aug 4, 2009 at 2:11 PM, kk4Nabble wrote: Hi all. Am using Tapestry 4.1.5. Can anybody help me with uploading multiple files. Just like Gmail does. Right now i can upload single file ,But how to upload multiple files via AJAX. Is there any way to do it. is there anyway to do through the dojo which is integrated with tapestry 4? Please suggest.. Thank u all. -- View this message in context: http://www.nabble.com/-T4-.-multiple-file-upload.-Help.-tp24807257p24807257.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [T4]. multiple file upload. Help.
No probs... I wrote most of the DWR file upload code :) 2009/8/4 Juan E. Maya > But DWR does make it pretty easy! Thanks a lot for the tip :) I just > read found this article: > http://fisheye5.cenqua.com/browse/~raw,r=1.2/dwr/web/fileupload/index.html > > I had a similar problem last month and this may helped me improve the > messy js i have for my the iframe handling. > > Thanks again! > > On Tue, Aug 4, 2009 at 3:20 PM, Lance Java > wrote: > > Yes.. your correct... you can't do it with XHR... you need a form and an > > iframe. It gives you an AJAX-like effect. > > > > 2009/8/4 Juan E. Maya > > > >> I would really like to see how is possible to upload documents via ajax. > >> As long as i have seen DWR uses an IFrame. what do u mean by a hidden > >> form? Do u have any examples? > >> > >> On Tue, Aug 4, 2009 at 3:01 PM, Lance Java > >> wrote: > >> > This is not exactly true... you can use a hidden form. This may > require a > >> > bit of javascript to move the file objects to the hidden form, post > the > >> the > >> > form then move them back to their visible location. DWR uses this > trick. > >> > Browser security is such that you can not set the value of a file > object > >> > with javascript, the user must do this. > >> > > >> > 2009/8/4 Juan E. Maya > >> > > >> >> Ajax doesn't allow to use multipart forms, therefore u can't upload > >> >> files using ajax. If u check carefully google is using a flash > control > >> >> for this. U could also try to mess around with iframes but it's a big > >> >> mess.. > >> >> > >> >> This flash controller could be useful for u: http://swfupload.org/if > >> >> u decide to go for a flash based control > >> >> > >> >> On Tue, Aug 4, 2009 at 2:11 PM, kk4Nabble > wrote: > >> >> > > >> >> > Hi all. > >> >> > > >> >> > Am using Tapestry 4.1.5. > >> >> > Can anybody help me with uploading multiple files. Just like Gmail > >> does. > >> >> > > >> >> > Right now i can upload single file ,But how to upload multiple > files > >> via > >> >> > AJAX. > >> >> > Is there any way to do it. > >> >> > > >> >> > is there anyway to do through the dojo which is integrated with > >> tapestry > >> >> 4? > >> >> > Please suggest.. > >> >> > > >> >> > Thank u all. > >> >> > > >> >> > > >> >> > -- > >> >> > View this message in context: > >> >> > >> > http://www.nabble.com/-T4-.-multiple-file-upload.-Help.-tp24807257p24807257.html > >> >> > Sent from the Tapestry - User mailing list archive at Nabble.com. > >> >> > > >> >> > > >> >> > > - > >> >> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >> >> > For additional commands, e-mail: users-h...@tapestry.apache.org > >> >> > > >> >> > > >> >> > >> >> - > >> >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >> >> For additional commands, e-mail: users-h...@tapestry.apache.org > >> >> > >> >> > >> > > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >> For additional commands, e-mail: users-h...@tapestry.apache.org > >> > >> > > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
Re: [T4]. multiple file upload. Help.
But DWR does make it pretty easy! Thanks a lot for the tip :) I just read found this article: http://fisheye5.cenqua.com/browse/~raw,r=1.2/dwr/web/fileupload/index.html I had a similar problem last month and this may helped me improve the messy js i have for my the iframe handling. Thanks again! On Tue, Aug 4, 2009 at 3:20 PM, Lance Java wrote: > Yes.. your correct... you can't do it with XHR... you need a form and an > iframe. It gives you an AJAX-like effect. > > 2009/8/4 Juan E. Maya > >> I would really like to see how is possible to upload documents via ajax. >> As long as i have seen DWR uses an IFrame. what do u mean by a hidden >> form? Do u have any examples? >> >> On Tue, Aug 4, 2009 at 3:01 PM, Lance Java >> wrote: >> > This is not exactly true... you can use a hidden form. This may require a >> > bit of javascript to move the file objects to the hidden form, post the >> the >> > form then move them back to their visible location. DWR uses this trick. >> > Browser security is such that you can not set the value of a file object >> > with javascript, the user must do this. >> > >> > 2009/8/4 Juan E. Maya >> > >> >> Ajax doesn't allow to use multipart forms, therefore u can't upload >> >> files using ajax. If u check carefully google is using a flash control >> >> for this. U could also try to mess around with iframes but it's a big >> >> mess.. >> >> >> >> This flash controller could be useful for u: http://swfupload.org/ if >> >> u decide to go for a flash based control >> >> >> >> On Tue, Aug 4, 2009 at 2:11 PM, kk4Nabble wrote: >> >> > >> >> > Hi all. >> >> > >> >> > Am using Tapestry 4.1.5. >> >> > Can anybody help me with uploading multiple files. Just like Gmail >> does. >> >> > >> >> > Right now i can upload single file ,But how to upload multiple files >> via >> >> > AJAX. >> >> > Is there any way to do it. >> >> > >> >> > is there anyway to do through the dojo which is integrated with >> tapestry >> >> 4? >> >> > Please suggest.. >> >> > >> >> > Thank u all. >> >> > >> >> > >> >> > -- >> >> > View this message in context: >> >> >> http://www.nabble.com/-T4-.-multiple-file-upload.-Help.-tp24807257p24807257.html >> >> > Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> > >> >> > >> >> > - >> >> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> >> > For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > >> >> > >> >> >> >> - >> >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> >> >> >> > >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [T4]. multiple file upload. Help.
Yes.. your correct... you can't do it with XHR... you need a form and an iframe. It gives you an AJAX-like effect. 2009/8/4 Juan E. Maya > I would really like to see how is possible to upload documents via ajax. > As long as i have seen DWR uses an IFrame. what do u mean by a hidden > form? Do u have any examples? > > On Tue, Aug 4, 2009 at 3:01 PM, Lance Java > wrote: > > This is not exactly true... you can use a hidden form. This may require a > > bit of javascript to move the file objects to the hidden form, post the > the > > form then move them back to their visible location. DWR uses this trick. > > Browser security is such that you can not set the value of a file object > > with javascript, the user must do this. > > > > 2009/8/4 Juan E. Maya > > > >> Ajax doesn't allow to use multipart forms, therefore u can't upload > >> files using ajax. If u check carefully google is using a flash control > >> for this. U could also try to mess around with iframes but it's a big > >> mess.. > >> > >> This flash controller could be useful for u: http://swfupload.org/ if > >> u decide to go for a flash based control > >> > >> On Tue, Aug 4, 2009 at 2:11 PM, kk4Nabble wrote: > >> > > >> > Hi all. > >> > > >> > Am using Tapestry 4.1.5. > >> > Can anybody help me with uploading multiple files. Just like Gmail > does. > >> > > >> > Right now i can upload single file ,But how to upload multiple files > via > >> > AJAX. > >> > Is there any way to do it. > >> > > >> > is there anyway to do through the dojo which is integrated with > tapestry > >> 4? > >> > Please suggest.. > >> > > >> > Thank u all. > >> > > >> > > >> > -- > >> > View this message in context: > >> > http://www.nabble.com/-T4-.-multiple-file-upload.-Help.-tp24807257p24807257.html > >> > Sent from the Tapestry - User mailing list archive at Nabble.com. > >> > > >> > > >> > - > >> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >> > For additional commands, e-mail: users-h...@tapestry.apache.org > >> > > >> > > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >> For additional commands, e-mail: users-h...@tapestry.apache.org > >> > >> > > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
Re: [T4]. multiple file upload. Help.
I would really like to see how is possible to upload documents via ajax. As long as i have seen DWR uses an IFrame. what do u mean by a hidden form? Do u have any examples? On Tue, Aug 4, 2009 at 3:01 PM, Lance Java wrote: > This is not exactly true... you can use a hidden form. This may require a > bit of javascript to move the file objects to the hidden form, post the the > form then move them back to their visible location. DWR uses this trick. > Browser security is such that you can not set the value of a file object > with javascript, the user must do this. > > 2009/8/4 Juan E. Maya > >> Ajax doesn't allow to use multipart forms, therefore u can't upload >> files using ajax. If u check carefully google is using a flash control >> for this. U could also try to mess around with iframes but it's a big >> mess.. >> >> This flash controller could be useful for u: http://swfupload.org/ if >> u decide to go for a flash based control >> >> On Tue, Aug 4, 2009 at 2:11 PM, kk4Nabble wrote: >> > >> > Hi all. >> > >> > Am using Tapestry 4.1.5. >> > Can anybody help me with uploading multiple files. Just like Gmail does. >> > >> > Right now i can upload single file ,But how to upload multiple files via >> > AJAX. >> > Is there any way to do it. >> > >> > is there anyway to do through the dojo which is integrated with tapestry >> 4? >> > Please suggest.. >> > >> > Thank u all. >> > >> > >> > -- >> > View this message in context: >> http://www.nabble.com/-T4-.-multiple-file-upload.-Help.-tp24807257p24807257.html >> > Sent from the Tapestry - User mailing list archive at Nabble.com. >> > >> > >> > - >> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> > For additional commands, e-mail: users-h...@tapestry.apache.org >> > >> > >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [T4]. multiple file upload. Help.
This is not exactly true... you can use a hidden form. This may require a bit of javascript to move the file objects to the hidden form, post the the form then move them back to their visible location. DWR uses this trick. Browser security is such that you can not set the value of a file object with javascript, the user must do this. 2009/8/4 Juan E. Maya > Ajax doesn't allow to use multipart forms, therefore u can't upload > files using ajax. If u check carefully google is using a flash control > for this. U could also try to mess around with iframes but it's a big > mess.. > > This flash controller could be useful for u: http://swfupload.org/ if > u decide to go for a flash based control > > On Tue, Aug 4, 2009 at 2:11 PM, kk4Nabble wrote: > > > > Hi all. > > > > Am using Tapestry 4.1.5. > > Can anybody help me with uploading multiple files. Just like Gmail does. > > > > Right now i can upload single file ,But how to upload multiple files via > > AJAX. > > Is there any way to do it. > > > > is there anyway to do through the dojo which is integrated with tapestry > 4? > > Please suggest.. > > > > Thank u all. > > > > > > -- > > View this message in context: > http://www.nabble.com/-T4-.-multiple-file-upload.-Help.-tp24807257p24807257.html > > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
Re: [T4]. multiple file upload. Help.
Ajax doesn't allow to use multipart forms, therefore u can't upload files using ajax. If u check carefully google is using a flash control for this. U could also try to mess around with iframes but it's a big mess.. This flash controller could be useful for u: http://swfupload.org/ if u decide to go for a flash based control On Tue, Aug 4, 2009 at 2:11 PM, kk4Nabble wrote: > > Hi all. > > Am using Tapestry 4.1.5. > Can anybody help me with uploading multiple files. Just like Gmail does. > > Right now i can upload single file ,But how to upload multiple files via > AJAX. > Is there any way to do it. > > is there anyway to do through the dojo which is integrated with tapestry 4? > Please suggest.. > > Thank u all. > > > -- > View this message in context: > http://www.nabble.com/-T4-.-multiple-file-upload.-Help.-tp24807257p24807257.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org