« Return to Thread: problem with command object missing methods

problem with command object missing methods

by Steve Tekell :: Rate this Message:

Reply to Author | View in Thread

How can this be?
Grails is throwing an error saying my command object class has no hasErrors() method.
The same code works in another application.  Both Grails 1.0.2
Any clues?

Message: No signature of method: BatchUserCommand.hasErrors() is applicable for argument types: () values: {}
Caused by: groovy.lang.MissingMethodException: No signature of method: BatchUserCommand.hasErrors() is applicable for argument types: () values: {}
Class: UserController
At Line: [718]
Code Snippet:
718: if (!batchUserCmd.hasErrors()) {
719: def ok = true

 « Return to Thread: problem with command object missing methods