Saturday, November 12, 2011

Re: Image upload

GWT is compiled to JavaScript: it can't do what JavaScript can't either. The trick of FileUpload is sending the form (and the file) in a hidden iframe; that way you haven't to reload the whole page. There is a good reason not to use FormPanel?

Ikai has a blog post with some sample code using GWT to upload images to appengine:
and the demo:
  http://ikai-photoshare.appspot.com/

El sábado 12 de noviembre de 2011 16:32:07 UTC+1, Deepak Singh escribió:

Hi,

I need to upload an image to GAE server and store it in datastore.
I looked for many options and found that FileUpload widget released with GWT 2.4 can do it but the restriction is that this widget must be used with FormPanel.
but i dont want to use formPanel.

Can anyone suggest me the best possible way w.r.t GWT + GAE

I am using GWT 2.4, GAE 1.5.5

Thanks
Deepak Singh

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/BGrAiR5lzbUJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate