Re: Problems with Struts 1.2.4 - ActionMessage vs ActionError

2005-04-25 Thread Les Dunaway
OK, I have gotten to where I know what is happening. Now, I hope someone can help me to understand why. The ActionMessage is getting properly saved in the request and the html:error or html:message tag is finding it ( I can see all this in the debuger) Further, the error has a valid key into

Re: Problems with Struts 1.2.4 - ActionMessage vs ActionError

2005-04-17 Thread Les Dunaway
Joe wroteA common case here would be if you are returning a redirecting forward; in that case, the JSP would be drawn in response to a second HTTP request, and the saved errors would have been lost. No, nothing special just the plain vanilla form-jsp setup. struts-config snips: form-bean

Re: Problems with Struts 1.2.4 - ActionMessage vs ActionError

2005-04-14 Thread Joe Germuska
At 8:03 AM -0400 4/14/05, Les Dunaway wrote: What am I messing up? In the code you included in your email, you were not saving the errors. If that's not just a copy/paste mistake, then there's your problem. Joe I am having problems with Struts 1.2.4 ActionMessage / ActionError. I'm using a

Re: Problems with Struts 1.2.4 - ActionMessage vs ActionError

2005-04-14 Thread Joe Germuska
At 8:55 AM -0700 4/14/05, K.C. Baltz wrote: Perhaps you should be using h:errors to display your error messages instead of h:messages I think it depends on if you use saveErrors or saveMessages in your Action. This is NOT true. The differences between the h:errors tag and the h:messages tag are

Re: Problems with Struts 1.2.4 - ActionMessage vs ActionError

2005-04-14 Thread K.C. Baltz
I stand corrected and informed. Now that you mention it, I remember looking into this before. I wish the Struts Users Guide HTML tag API made the difference a little more obvious in the description. I'm not saying the documentation is incorrect, just that the quick skim I did before I sent

Re: Problems with Struts 1.2.4 - ActionMessage vs ActionError

2005-04-14 Thread Joe Germuska
At 11:19 AM -0700 4/14/05, K.C. Baltz wrote: I stand corrected and informed. Now that you mention it, I remember looking into this before. I wish the Struts Users Guide HTML tag API made the difference a little more obvious in the description. I'm not saying the documentation is incorrect,

Re: Problems with Struts 1.2.4 - ActionMessage vs ActionError

2005-04-14 Thread Les Dunaway
Joe, Thanks for looking at it. Yes, I am saving the errors - I cut it too short here's all the code if(!ud.isUserExist(username)){ errors.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage(error.logon.invalid.user)); log.debug(Invalid

Re: Problems with Struts 1.2.4 - ActionMessage vs ActionError

2005-04-14 Thread Joe Germuska
At 3:24 PM -0400 4/14/05, Les Dunaway wrote: Joe, Thanks for looking at it. Yes, I am saving the errors - I cut it too short here's all the code if(!ud.isUserExist(username)){ errors.add(ActionMessages.GLOBAL_MESSAGE, new

Re: Problems with Struts 1.2.4 - ActionMessage vs ActionError

2005-04-14 Thread K.C. Baltz
Done: http://issues.apache.org/bugzilla/show_bug.cgi?id=34460 K.C. Joe Germuska wrote: At 11:19 AM -0700 4/14/05, K.C. Baltz wrote: I stand corrected and informed. Now that you mention it, I remember looking into this before. I wish the Struts Users Guide HTML tag API made the difference a