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
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 an
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
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
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
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
wit
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