Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ protected boolean execute_(ActionContext actionCtx)
ActionConfig actionConfig = actionCtx.getActionConfig();
ActionForm actionForm = actionCtx.getActionForm();

// First determine if the request was cancelled
handleCancel(actionCtx, actionConfig, actionForm);

// Is there a form bean for this request?
if (actionForm == null) {
return (false);
Expand All @@ -79,6 +76,9 @@ protected boolean execute_(ActionContext actionCtx)
populate(actionCtx, actionConfig, actionForm);
}

// Always handle cancel last, as it needs populate first
handleCancel(actionCtx, actionConfig, actionForm);

return CONTINUE_PROCESSING;
}

Expand Down Expand Up @@ -198,4 +198,4 @@ protected void handleCancel(ActionContext context,
context.setCancelled(Boolean.FALSE);
}
}
}
}