|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.scrashmeow.ojb.console.ActionErrorUtils
Utilities for working with the user interface errors.
Constructor Summary | |
ActionErrorUtils()
|
Method Summary | |
static void |
error(HttpServletRequest request,
java.lang.String errorKey)
Add an error to the existing ActionErrors object. |
static void |
error(HttpServletRequest request,
java.lang.String key,
java.lang.String errorKey)
Add an error to the existing ActionErrors object. |
static void |
error(HttpServletRequest request,
java.lang.String requestKey,
java.lang.String key,
java.lang.String errorKey)
Add an error to the existing ActionErrors object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ActionErrorUtils()
Method Detail |
public static void error(HttpServletRequest request, java.lang.String errorKey)
request
- the current requesterrorKey
- the msg key for the error messagepublic static void error(HttpServletRequest request, java.lang.String key, java.lang.String errorKey)
request
- the current requestkey
- the request key for the ActionErrors objecterrorKey
- the msg key for the error messagepublic static void error(HttpServletRequest request, java.lang.String requestKey, java.lang.String key, java.lang.String errorKey)
request
- the current requestrequestKey
- the request key for the ActionErrors objectkey
- the key use when adding the ActionError object to the ActionErrorserrorKey
- the msg key for the error message
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |