RE: struts: error/message handling: saveErrors

2003-07-03 Thread Denis Wang
Thanks a lot. it works for me. Denis -Original Message- From: Varun Garg [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 11:55 AM To: 'Struts Users Mailing List' Subject: RE: struts: error/message handling: saveErrors Instead of doing a new ActionErrors I have a func

RE: struts: error/message handling: saveErrors

2003-07-03 Thread Denis Wang
Unfortunately struts does not provide such functionalities, I doubt. Denis -Original Message- From: Jamie M. Guillemette [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 11:59 AM To: Struts Users Mailing List Subject: Re: struts: error/message handling: saveErrors we probably need to

RE: struts: error/message handling: saveErrors

2003-07-03 Thread Varun Garg
Instead of doing a new ActionErrors I have a function in my base Action (U can just put it in the action that your are working on Baction). public ActionErrors getErrors(HttpServletRequest request){ if (request.getAttribute(ERROR_KEY) != null) { return (ActionErrors) reques

Re: struts: error/message handling: saveErrors

2003-07-03 Thread Jamie M. Guillemette
we probably need to know more about your code to really answer your question. But here are few pointers. when using actionErrors. note that many functions return boolean by returning actionErrors.isEmpty(); in these cases if an error was found.. it will not bother to process the other errors.. (