Hi Daniel
Ok, I may be telling you something that you've already taken care of, but you
did ask...
I realize that you may be wrapping the whole thing inside a form, but I'm just reminding you that
you can only upload files under the following conditions:
1. the input type='file' is contained within a form
2. the form has a method of POST
3. the form encoding is set to multipart encoding ie "multipart/form-data"
If you can't for some reason put the widget containing the cell within a form presumably you could
render the form within the cell as you suggested.
Alan
On 12/20/2010 2:39 PM, Daniel Simons wrote:
Any suggestions for creating a FileUpload cell? It looks like it should be as simple as extending
AbstractSafeHtmlCell<String>, then overriding the render method to contain an html constant <input
type="file"/>. Wanted to make sure I'm not leaving out anything.
Daniel
--
You received this message because you are subscribed to the Google Groups "Google
Web Toolkit" group.
To post to this group, send email to [email protected].
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.
--
You received this message because you are subscribed to the Google Groups "Google
Web Toolkit" group.
To post to this group, send email to [email protected].
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.