I've successfully used FormPanel+FileUpload before in a GWT page, but when the FormPanel and enclosed FileUpload is moved to a DialogBox, the upload suddenly doesn't work.
The form.submit() is successfully being triggered, but the form itself contains no data. Here's a sample of a *successful* HTTP POST request when submitted from the page: POST http://d5.mail.everyone.net/eonapps/ft/wm/upload/3/Documents HTTP/ 1.1 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; en-us) AppleWebKit/525.26.2 (KHTML, like Gecko) Content-Type: multipart/form-data; boundary=---- WebKitFormBoundary0JTC63t0wmy7ij6z Content-Length: 594 Referer: http://d5.mail.everyone.net/eonapps/ft/static/p_1_1/test.html Accept: text/xml,application/xml,application/xhtml+xml,text/ html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us Accept-Encoding: gzip, deflate Cookie: __qca=1173213741-27039527-45363735; enet_prvw_on=1; enet_prvw_hght=211.5; __utmz=134571813.1224875848.17.3.utmcsr=ez.everyone.net|utmccn= (referral)|utmcmd=referral|utmcct=/eonapps/ft/wm/page/wm; __utma=134571813.1810776736.1220639036.1225823007.1225826230.23; EON_PSD_WM=%7B%22a%22%3A262%2C%22f%22%3A%5B%22%2F%22%2C%22%2FDocuments %22%2C%22%2FDocuments%2Fxxx%22%2C%22%2FDocuments%2Fxxx%2Fyyyy%22%5D%2C %22b%22%3A%5B%22%2F%22%5D%7D; http%3A%2F%2Fd5.mail.everyone.net %2Feonapps%2Fgwt%2Feon.fe.gwt.client.wm.p1.App%2Ftheme=m%3Afile%7Cs %3Axtheme-gray.css%2Cid%7Cs%3Agray; EONS3=U%268%26I%26249921%26P %260%26R%260%26H%268d7aa4eb89b824966d71c929c4954684; Eon_Uinfo=passwd&&store&&login&; EON_CRV=leyte %2C2011081628%2C330a9d3905ed858ee6e26e341bf393cf; JSESSIONID=aGjXez5IxMQbG9UXo3 Pragma: no-cache Connection: keep-alive Proxy-Connection: keep-alive Host: d5.mail.everyone.net ------WebKitFormBoundary0JTC63t0wmy7ij6z Content-Disposition: form-data; name="xxx"; filename="test.html" Content-Type: text/html <html> <head> <title>Untitled</title> <style type="text/css" title="text/css"> <!-- body { margin:0; } div { height:100%; } table { height:100%; width:100%; border:1px solid #F00; } --> </style> </head> <body> <table> <tr><td colspan="2">sdfdsf</td></tr> <tr><td>ssd</td> <td><div style="border:1px solid #00F"> sfdesf </div> </td> </tr> </table> </body> </html> ------WebKitFormBoundary0JTC63t0wmy7ij6z-- [END REQUEST] And now the same file submitted from the same form panel moved to a dialog box: POST http://d5.mail.everyone.net/eonapps/ft/wm/upload/8/Documents HTTP/ 1.1 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; en-us) AppleWebKit/525.26.2 (KHTML, like Gecko) Content-Type: multipart/form-data; boundary=---- WebKitFormBoundaryCnW1cH00tJLz6Q8r Referer: http://d5.mail.everyone.net/eonapps/ft/wm/page/wm Accept: text/xml,application/xml,application/xhtml+xml,text/ html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us Accept-Encoding: gzip, deflate Cookie: __qca=1173213741-27039527-45363735; enet_prvw_on=1; enet_prvw_hght=211.5; __utmz=134571813.1224875848.17.3.utmcsr=ez.everyone.net|utmccn= (referral)|utmcmd=referral|utmcct=/eonapps/ft/wm/page/wm; __utma=134571813.1810776736.1220639036.1225823007.1225826230.23; EON_PSD_WM=%7B%22a%22%3A262%2C%22f%22%3A%5B%22%2F%22%2C%22%2FDocuments %22%2C%22%2FDocuments%2Fxxx%22%2C%22%2FDocuments%2Fxxx%2Fyyyy%22%5D%2C %22b%22%3A%5B%22%2F%22%5D%7D; http%3A%2F%2Fd5.mail.everyone.net %2Feonapps%2Fgwt%2Feon.fe.gwt.client.wm.p1.App%2Ftheme=m%3Afile%7Cs %3Axtheme-gray.css%2Cid%7Cs%3Agray; EONS3=U%268%26I%26249921%26P %260%26R%260%26H%268d7aa4eb89b824966d71c929c4954684; Eon_Uinfo=passwd&&store&&login&; EON_CRV=leyte %2C542293919%2Ce9127bc1b71777f8d038278f2f13abf6; JSESSIONID=aBbqldxCprF4a71Yo3 Pragma: no-cache Content-Length: 44 Connection: keep-alive Proxy-Connection: keep-alive Host: d5.mail.everyone.net ------WebKitFormBoundaryCnW1cH00tJLz6Q8r-- [END REQUEST] This is driving me crazy! --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---