Hello all,
This thread is about the result we get back after we submit a
FormPanel. I'm using a FormPanel + FileUpload in order to upload
photos in my GWT app.
When I submit the form, there is a servlet that takes care of the
request and saves the image on server side. I also have an object
You can read and process the server's response.
In this string your server can write the information your client needs using
text, xml or json and you can parse it using regular expresions,
com.google.gwt.json.JSON or com.google.gwt.xml.XML.
SubmitCompleteHandler onSubmitFormCompleteCallback =
On 25 août, 16:09, Zé Vicente josevicentec...@gmail.com wrote:
Hello all,
This thread is about the result we get back after we submit a
FormPanel. I'm using a FormPanel + FileUpload in order to upload
photos in my GWT app.
When I submit the form, there is a servlet that takes care of the
Sounds good to me! I am used to the rpc calls and I did not work with
json yet.
Seems that I have to do it! Thank you both for your time!
Regards,
Zé Vicente
On 25 ago, 17:12, Thomas Broyer t.bro...@gmail.com wrote:
On 25 août, 16:09, Zé Vicente josevicentec...@gmail.com wrote:
Hello
just an alternative, if you don't want to go the clean, sophisticated
way:
you could simply return the id and then start an RPC to get the Image
object for this id
this is of course nasty, because you need another roundtrip to the
server - but if you need a quick and easy way. well..
On Aug 25,