D
- the definition type@Deprecated public class EditorCallbackAction<D extends EditorCallbackActionDefinition> extends AbstractAction<D>
EditorCallback.onSuccess(String)
or EditorCallback.onCancel()
depending
on the definition. Optionally performs the validation via EditorValidator
beforehand.Constructor and Description |
---|
EditorCallbackAction(D definition,
EditorCallback callback,
EditorValidator validator)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Deprecated.
Executes the action.
|
protected boolean |
validateForm()
Deprecated.
|
getDefinition
@Inject public EditorCallbackAction(D definition, EditorCallback callback, EditorValidator validator)
public void execute() throws ActionExecutionException
Action
ActionExecutionException
- if an error occurs performing the actionprotected boolean validateForm()
Copyright © 2020 Magnolia International Ltd.. All rights reserved.