I'm confused, but that's what I get for playing with the nightly build.
ActionError is deprecated, with a note to use ActionMessage instead.
My old code in a DynaValidatorForm looks like this:
public ActionErrors validate( ActionMapping mapping,
HttpServletRequest request ) {
ActionErrors errors = new ActionErrors();
if ( "Submit".equals( request.getParameter( "userAction" ) ) ) {
errors = super.validate( mapping, request );
}
return errors;
}
So, do I just use ActionMessage/ActionMessages there? How will the
<html-el:errors /> tag know what to do? Or do I put ActionMessage
objects into an ActionErrors object? (ActionErrors [plural] does not
seem to be deprecated.)
--
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]