This annotation is defined on the Presentation Layer.
Target: Method of a POJO annotated with @StageDefinition.
Description: Marks a method to be executed when a given form is submitted with the Save action.
JavaDoc: Click here
Attributes:
| Name | Description | Data type | Required | Default value |
| value | The name of the form to link to the method. | String | Yes | - |
Example:
public class LoginStage {
// Ties the method to the OnSubmitSaveAction event of the "myform" form.
@OnSubmitSaveAction("myform")
public void aMethod() {
...
}
}
See also: