Method Summary |
|
native public void | add(Field field) Add a Field to the current open container (e.g. |
native public void | addListener(FormListener listener) Add a Form listener. |
native public void | clearInvalid() Clears all invalid messages in this form. |
native protected JavaScriptObject | create(JavaScriptObject config) |
native public Field | findField(String id) Find a
Field in this form by id, dataIndex, name or hiddenName. |
native public String | getValues() |
public static Form | instance(JavaScriptObject formJS) |
native public boolean | isDirty() Returns true if any fields in this form have changed since their original load. |
native public boolean | isValid() Returns true if client-side validation on the form is successful. |
public void | load(String url) |
public void | load(String url, UrlParam[] params, Connection.Method method, String waitMsg) |
native public void | loadRecord(Record record) Loads a
Record into this form. |
native public void | remove(Field field) Removes a field from the items collection (does NOT remove its markup). |
native public void | reset() Resets this form. |
native public void | submit() Shortcut to do a submit action. |
public void | submit(String url) Submit the form. |
public void | submit(String url, UrlParam[] params, Connection.Method method, String waitMsg, boolean clientValidation) Subit the form. |
native public void | submit(JavaScriptObject configJS) Submit the form using the specified configuration. |
native public void | updateRecord(Record record) Persists the values in this Form into the passed Record object. |