On Dec 28, 2007 4:48 PM, Chris Pratt <[EMAIL PROTECTED]> wrote: > On Dec 28, 2007 4:15 PM, Adam Hardy <[EMAIL PROTECTED]> wrote: > > Well, I guess I should have read your whole message. :S > > > > Can you get hold of the Action in your tag? If so, then you can do this: > > > > ValidationAware validationAwareAction = (ValidationAware) action; > > validationAwareAction.getActionErrors() > > validationAwareAction.getActionMessages() > > validationAwareAction.getFieldErrors() > > > That was my first thought as well, but unfortunately the flow is > wrong. Basically I would need to get hold of the previous action, not > the current action. It was the previous Action that had problems or > messages to display to the user, and that's where things seem to break > down. > (*Chris*) >
Apparently it helps if you're not completely stupid!! After I wrote that last reply I started thinking about the problem again and it dawned on me that I was using a <result redirect="true">/</result> which, obviously, was losing the messages. What a moron. It's working exactly like you suggested. Thanks for the sanity check. (*Chris*) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]