com.gwtext.client.widgets.form.event
Interface FormListener

All Known Implementing Classes:
FormListenerAdapter

public interface FormListener


Method Summary
 boolean doBeforeAction(Form form)
          Fires before any action is performed.
 void onActionComplete(Form form, int httpStatus, java.lang.String responseText)
          Fires when an action is completed.
 void onActionFailed(Form form, int httpStatus, java.lang.String responseText)
          Fires when an action fails.
 

Method Detail

onActionComplete

void onActionComplete(Form form,
                      int httpStatus,
                      java.lang.String responseText)
Fires when an action is completed.

Parameters:
form - this
httpStatus - the http status code
responseText - the result html returned by the server

onActionFailed

void onActionFailed(Form form,
                    int httpStatus,
                    java.lang.String responseText)
Fires when an action fails.

Parameters:
form - this
httpStatus - the http status code
responseText - the result html returned by the server

doBeforeAction

boolean doBeforeAction(Form form)
Fires before any action is performed. Return false to cancel the action.

Parameters:
form - this
Returns:
false to cancel the action