| Provides access to a copy of an ErrorMap and information derived from it. Necessary because ErrorMap implements the Map
interface, which for some reason makes JSTL unwilling to translate ErrorMap.errorCount into a call to the getErrorCount method of
that ErrorMap instance.
Since I had to create this class to provide easy access to the error count (which must be computed as the sum of the sizes of the
error message lists of all properties in the ErrorMap), I also moved in the existing code which massaged the contents of the
ErrorMap for the purposes of export to the JSP.
|