Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractValidationControl.ResolveErrorMessages Method

Resolves the list of validation errors either explicitely specified using ValidationErrors or obtained from the containing IValidationContainer resolved by FindValidationContainer to a list of String elements containing the error messages to be rendered.

[Visual Basic]
Protected Overridable Sub ResolveErrorMessages()
[C#]
protected virtual IList ResolveErrorMessages();

Return Value

a list containing String elements. May return null

Remarks

The list of validation errors may either be explicitely specified using ValidationErrors or will automatically be obtained from the containing IValidationContainer resolved by FindValidationContainer.

Error Messages are resolved using either an explicitely specified MessageSource or the IMessageSource obtained from the validation container.

See Also

AbstractValidationControl Class | Spring.Web.UI.Controls Namespace