PDA

View Full Version : Is there a FormPanel after submit handler???



edumrf
30 Jun 2009, 4:39 AM
I'm using the "com.extjs.gxt.ui.client.widget.form.FormPanel" to upload a file, on the server side i'm persisting to a database and returning the id on the HttpResponse.

How can i get the response content on client side?

I have already seen a fez examples using the "com.google.gwt.user.client.ui.FormPanel" that works. Is there any way to do the same thing with the gxt FormPanel?

sven
30 Jun 2009, 4:40 AM
Yes there is. You need to listen to Events.Submit. Please also take a look at the javadocs, as it is described there.

edumrf
30 Jun 2009, 4:43 AM
Thanks Sven. I'll look it up.