FormPanel submit() problem...

2011-05-16 Thread The Unknown Developer
I've followed all the examples I can find to create a form to allow me to upload a file to the server. I know uploadForm.submit() is being called as I've traced it through in the debugger, but my servlet reference in the setAction() call is not being hit and I don't get any 404 errors. I'm sure

Re: FormPanel submit problem

2009-12-19 Thread 张也奈川郎
Zhang Qi(张琦)?? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: FormPanel submit problem

2009-12-18 Thread Qi Zhang
Hi, Tom Thanks for your useful explaination. Based on your suggestion, I have successfully parsed the paramters using the Apache FileUpload. Thanks again...Qi On Mon, Dec 14, 2009 at 1:01 AM, Thomas Broyer t.bro...@gmail.com wrote: On 11 déc, 12:22, Qi Zhang qzha...@gmail.com wrote: Hi,

Re: FormPanel submit problem

2009-12-13 Thread Thomas Broyer
On 11 déc, 12:22, Qi Zhang qzha...@gmail.com wrote: Hi, Actually after I changed the  form.setEncoding(FormPanel.ENCODING_MULTIPART); to form.setEncoding(FormPanel.ENCODING_URLECONDING), those parameters are passed to the servelt successfully, I really do not understand why? Because

Re: FormPanel submit problem

2009-12-11 Thread rjcarr
Sorry, I've never used traditional forms in gwt, so I can't help, other than to ask, are you sure you need to use traditional forms? On Dec 9, 11:42 pm, Island qzha...@gmail.com wrote: Hi, there I am new to GWT, so maybe this question has been answered somewhere else. The question is

Re: FormPanel submit problem

2009-12-11 Thread Qi Zhang
Hi, Actually after I changed the form.setEncoding(FormPanel.ENCODING_MULTIPART); to form.setEncoding(FormPanel.ENCODING_URLECONDING), those parameters are passed to the servelt successfully, I really do not understand why? I use traditional forms because I already have existing servlet code to

FormPanel submit problem

2009-12-10 Thread Island
Hi, there I am new to GWT, so maybe this question has been answered somewhere else. The question is regarding the FormPanel submission. I defined a FileUploadDialog class, which is inherited from GWT DialogBox class. In my FileUploadDialog constructor, I decided to attach a FormPanel to it and,