Nevermind again. It's exactly that: Tells it to display ActionMessages and not ActionErrors.
Apparently the new validator returns ActionErrors. Hitting the Bugzilla. > -----Original Message----- > From: Joe Hertz [mailto:[EMAIL PROTECTED] > Sent: Friday, June 18, 2004 1:28 PM > To: 'Struts Users Mailing List' > Subject: RE: ActionError/ActionMessage > > > > Figured out the behavior. It works if I do this- > > <html:messages id="message" message="true"> <-- Gets the > non-validator > generated messages --> > <EM class=red><bean:write name="message"/></EM><BR> </html:messages> > > <html:messages id="message"> <-- Gets validator > generated messages --> > <EM class=red><bean:write name="message"/></EM><BR> </html:messages> > > Now can someone explain to me what the purpose of message="true" is > > (and yes, the parameter naming question was a huge brainfreeze) > > > > -----Original Message----- > > From: Joe Hertz [mailto:[EMAIL PROTECTED] > > Sent: Friday, June 18, 2004 12:28 PM > > To: 'Struts Users Mailing List' > > Subject: ActionError/ActionMessage > > > > > > Using a 6/10 Nightly the I have a page with the following > JSP snippet: > > > > <html:messages id="error"> > > <EM class=red><bean:write name="error"/></EM><BR> </html:messages> > > > > This works fine with validator generated error messages. > > > > This works if in my Action I call the deprecated > > this.saveErrors(). If I call this.saveMessages() it does not. > > > > Same holds true for > > > > <html:messages id="message"> > > <EM class=red><bean:write name="message"/></EM><BR> </html:messages> > > > > Has the identifier changed to something else then?? I suspect > > it's just Friday and I'm just brainfreezing. N pairs of > > eyeballs would be appreciated. > > > > -Joe > > > > > -----Original Message----- > > > From: Nick Heudecker [mailto:[EMAIL PROTECTED] > > > Sent: Friday, June 18, 2004 11:35 AM > > > To: Struts Users Mailing List > > > Subject: Re: Unit Testing with MockStrutsTestCase -- > > > non-string request parameters > > > > > > > > > Hi George: > > > > > > Maybe this will help: > > > > > > http://sourceforge.net/forum/message.php?msg_id=1812671 > > > > > > > > > George Steimer wrote: > > > > Hi, > > > > > > > > Does anyone know if there is a way to put non-string > > > objects into the > > > > request for a unit test using MockStrutsTestCase? My > > > problem is that > > > > my dyna form uses a form file for an upload, and the > > > > addRequestParameter methods on MockStrutsTestCase only > > > accept String > > > > and String[] for values. > > > > > > > > And help would be greatly appreciated. > > > > > > > > Thanks, > > > > > > > > George > > > > > > > > > > > > George Steimer > > > > Technology Services Group > > > > [EMAIL PROTECTED] > > > > (312)372-7777 > > > > > > > > This message is for the designated recipient only and > may contain > > > > privileged or confidential information. If you have > > received it in > > > > error, please notify the sender immediately and delete the > > > original. > > > > Any other use of the email by you is prohibited. > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > -- > > > Nick Heudecker > > > System Mobile, Inc. > > > Email: [EMAIL PROTECTED] > > > Web: http://www.systemmobile.com > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]