|
From: Seth L. <set...@gm...> - 2005-03-11 18:41:31
|
On Fri, 11 Mar 2005 19:22:31 +0100, Erwin Vervaet <erw...@er...> wrote: > All, > > I was wondering whether we can make the BindException.addError(ObjectError > error) method public? It is currently protected. The other option would be > to add a public BindException.addAllErrors(Errors errors) method. > Doing this will make it easy to merge several Errors objects and expose them > as one object to the view. Are the multiple different Errors objects from different target beans? I think there's a one to one relationship between a Bean and its Errors object (since the Errors object wraps a bean). So combining multiple Errors objects into a single Errors might not make sense. What is the use case here? Seth -- <a href="http://www.picklematrix.net/foaf.rdf">Seth Ladd's FOAF</a> <a href="http://www.foaf-project.org/">What is FOAF?</a> |