|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.finalist.util.struts.StrutsUtil
This class provides some static methodes that do model - struts data translations
Constructor Summary | |
StrutsUtil()
|
Method Summary | |
static void |
addModelErrorsToActionErrors(ModelErrors modelErrors,
org.apache.struts.action.ActionErrors actionErrors)
Creates an (equivalent) action error for each model error in the given model errors object, and adds them at the specified property value (in the model errors) to the action errors object. |
static org.apache.struts.action.ActionError |
createActionError(ModelError modelError)
Creates an (equivalent) action error object for the given model error object. |
static org.apache.struts.action.ActionErrors |
createActionErrorsFromModelErrors(ModelErrors modelErrors)
Creates an (equivalent) action errors object for the given model errors object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StrutsUtil()
Method Detail |
public static void addModelErrorsToActionErrors(ModelErrors modelErrors, org.apache.struts.action.ActionErrors actionErrors)
public static org.apache.struts.action.ActionErrors createActionErrorsFromModelErrors(ModelErrors modelErrors)
public static org.apache.struts.action.ActionError createActionError(ModelError modelError)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |