I am new to Sencha GXT framework for GWT, how can i get values from GXT generated TextFields
in order to send it to server?
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 i get entered values from lastName
TextField
?
Use lastName.getValue();
As per the GXT TextField api