gwt - Access values from widgets in GXT -



gwt - Access values from widgets in GXT -

i new sencha gxt framework gwt, how can values gxt generated textfields in order send server?

class="lang-java prettyprint-override">import com.extjs.gxt.ui.client.widget.layout.flowlayout; import com.extjs.gxt.ui.client.widget.layout.formdata; import com.extjs.gxt.ui.client.widget.layout.formlayout; public class form extends layoutcontainer{ textfield<string> lastname = new textfield<string>(); lastname.setfieldlabel("last name"); fieldset.add(lastname, formdata); }

on client side how can entered values lastname textfield?

use lastname.getvalue();

as per gxt textfield api

gwt gwt2 gxt

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -