I've searched for a solution to the following problem, but was suprised to find nothing. Upon submission of my form, I bindAndValidate and everything passes. I then transition to an action-state where I interact with the business layer via a MultiAction. If my business layer transaction fails, I need to redisplay the original form with an error message (much like if validation of a field fails).
I'd like to use an Errors object in my MultiAction and add the message key. Should I instead move the method to my FormAction bean to perform the business transaction and then use the getFormErrors()? I like the idea of centralizing my business transactions in the MultiAction though.
Any help would be greatly appreciated!