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<lance.j...@googlemail.com> 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 <maya.j...@gmail.com>
>
>> 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<kavya....@gmail.com> 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

Reply via email to