boolean hasErrors = hasErrors(context);
action.setInputError(hasErrors);
if (form instanceof BindingForm && !hasErrors)
{
BindingForm bindingForm = (BindingForm) form;
bindingForm.setBindOutwards(true);
}
String result = action.execute();
if (form instanceof BindingForm)
{
BindingForm validBindingForm = (BindingForm) form;
if (validBindingForm.getBindOutwards())
{
validBindingForm.bindOutwards(actionBean);
}
}
return getActionForward(context, result);