[OT] Re: ActionMessages not displayed in the UI

2005-10-12 Thread Dave Newton
[EMAIL PROTECTED] wrote: I'm not so sure about using different style for front end and back end errors - great for a developer but confusing for a user (of a consumer site) I display form errors within the form itself (with a non-radical message saying they screwed up) and system errors in

Re: ActionMessages not displayed in the UI

2005-10-12 Thread paul
... system-oriented error types never run. Dave When I was using an older version of Struts I used ActionErrors and I could get away with just one set of jsp tags. I guess they have been deprecated for a good reason. Anyhow, when I get time I'll move the validation from my action class t

Re: ActionMessages not displayed in the UI

2005-10-12 Thread Dave Newton
[EMAIL PROTECTED] wrote: Thanks Dave that worked... my errors.jsp is pasted below. So I used two sets of tags one for the struts validation errors and one for the action errors. It would have been more elegant using only 1 set of tags but I guess this works just fine. That's actually what I

Re: ActionMessages not displayed in the UI

2005-10-12 Thread paul
Thanks Dave that worked... my errors.jsp is pasted below. So I used two sets of tags one for the struts validation errors and one for the action errors. It would have been more elegant using only 1 set of tags but I guess this works just fine. <%@ page contentType="text/html;charset=UTF-8" la

Re: ActionMessages not displayed in the UI

2005-10-12 Thread Dave Newton
[EMAIL PROTECTED] wrote: Errors are displayed as I expect through my validation.xml but no error is displayed when it goes through my action class. Any ideas why? protected ActionForward errorToInput(final HttpServletRequest request_, final ActionMapping mapping_, final String errorKey_, f

ActionMessages not displayed in the UI

2005-10-12 Thread paul
user@struts.apache.org, I have a validate() method on my form bean which returns ActionMessages, I call the method from my action class. In my logs I can see that ActionMessages have been populated and the flow is redirected to my error page. My validation method is: public ActionMessages