Re: FileUpload - how to get status back from server??

2009-04-25 Thread TimOnGmail
On Apr 24, 6:53 pm, Vitali Lovich vlov...@gmail.com wrote: Technically no.  It's a limitation of the HTML spec.  You could try the following hack (untested so dunno how practicle this is what pitfalls you might enounter - as the lkml people say, here be dragons): [ Your advice, snipped ]

Re: FileUpload - how to get status back from server??

2009-04-25 Thread Thomas Broyer
On 25 avr, 03:53, Vitali Lovich vlov...@gmail.com wrote: Technically no.  It's a limitation of the HTML spec.  You could try the following hack (untested so dunno how practicle this is what pitfalls you might enounter - as the lkml people say, here be dragons): In your response, you could

FileUpload - how to get status back from server??

2009-04-24 Thread TimOnGmail
Hi all... I'm using FileUpload to upload a file to a servlet. The problem is, there can be a lot of different problems on the server side (IOExceptions, format errors, etc.), and I want to get those back to my GWT app. Problem is, it seems the FileUpload only reports back (via its Event

Re: FileUpload - how to get status back from server??

2009-04-24 Thread Vitali Lovich
Technically no. It's a limitation of the HTML spec. You could try the following hack (untested so dunno how practicle this is what pitfalls you might enounter - as the lkml people say, here be dragons): In your response, you could presumably return JSON objects which you can then eval in JSNI