Re: [S2] Proper way to clear error messages in session scope

2008-09-13 Thread Charles Wiese
For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > ----------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message i

Re: [S2] Proper way to clear error messages in session scope

2008-08-13 Thread Diego Manilla Suárez
Well, I've put this line just below the tags and : <%((ActionSupport) ActionContext.getContext().getActionInvocation().getAction()).clearErrorsAndMessages();%> I don't like putting Java code on JSPs and I'm sure there is a better way to do it, but so far it's working. Regards, Diego. Die

Re: [S2] Proper way to clear error messages in session scope

2008-08-12 Thread Laurie Harper
Diego Manilla Suárez wrote: Hi. I have an action in session scope. The problem is that action errors are never cleared and thus are shown repeatedly whenever the user sends the form with validation errors. At first I put a call to clearErrors() at the beginning of mi validate() method, but no

[S2] Proper way to clear error messages in session scope

2008-08-12 Thread Diego Manilla Suárez
Hi. I have an action in session scope. The problem is that action errors are never cleared and thus are shown repeatedly whenever the user sends the form with validation errors. At first I put a call to clearErrors() at the beginning of mi validate() method, but now I'm using also the validati