I want to add some data to model if there wasn’t any validation errors. I thought I could do this in onBindAndValidate, where I have the access to error object, which contains model:
errors.getModel().putAll(map);
I also tried to put values one by one using put(key, value) but without success.
What can I do?
I can do this after validation in processFinish: