Zakaria KHABOT wrote:
in my action I put :
errors.add("erreur",new ActionError("Le CINn Agent doit etre numérique: Mise à jour
non réalisée"));
From the Javadoc:
public ActionError(java.lang.String key)
Deprecated.
Construct an action error with no replacement values.
Parameters:
Joe Germuska wrote:
If I have errors occur in different locations, rather than returning
ActionMessages objects and having to merge them myself prior to calling
"saveErrors" or "saveMessages", why not have this be more like
"addError" or "addMessage" at the action level so that the user doesn't
nee
If I have errors occur in different locations, rather than returning
ActionMessages objects and having to merge them myself prior to calling
"saveErrors" or "saveMessages", why not have this be more like
"addError" or "addMessage" at the action level so that the user doesn't
need to maintain the "A
Mark R. Diggory wrote:
I was looking at the code for Action.saveErrors(...) and was think this
is a little inflexible when it comes to error and message management:
protected void saveErrors(HttpServletRequest request,
ActionMessages errors) {
// Remove any error messages attribute if