public class EnableDisableAction extends java.lang.Object implements SimpleFormAction
Constructor and Description |
---|
EnableDisableAction(java.lang.String fieldKey) |
Modifier and Type | Method and Description |
---|---|
void |
onFailure(SimpleForm form)
Executed if the condition was not met.
|
void |
onSuccess(SimpleForm form)
Executed if condition is met.
|
public void onSuccess(SimpleForm form)
SimpleFormAction
onSuccess
in interface SimpleFormAction
public void onFailure(SimpleForm form)
SimpleFormAction
onFailure
in interface SimpleFormAction