|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.rice.kns.util.ErrorContainer
@Deprecated public class ErrorContainer
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.
Constructor Summary | |
---|---|
ErrorContainer(MessageMap errorMap)
Deprecated. Constructs an ErrorContainer |
Method Summary | |
---|---|
int |
getErrorCount()
Deprecated. |
List |
getErrorPropertyList()
Deprecated. |
org.apache.struts.action.ActionMessages |
getRequestErrors()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ErrorContainer(MessageMap errorMap)
errorMap
- Method Detail |
---|
public int getErrorCount()
public List getErrorPropertyList()
public org.apache.struts.action.ActionMessages getRequestErrors()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |