posted 18 years ago
In the SimpleFormController, the onSubmit takes a BindException as a parameter. How do I add a new error to that object? For example, I have a service that validates a username and password against a value, and if they do not match I want to display an error back to the user. Is the following the correct way to do this or is there a more elegant way to do this?
Thanks for the help
Brian