You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Joe Hertz <jh...@speakeasy.net> on 2004/06/18 18:27:49 UTC

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:nick@systemmobile.com] 
> 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
> > georges@tsgrp.com
> > (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: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> > 
> 
> 
> -- 
> Nick Heudecker
> System Mobile, Inc.
> Email: nick@systemmobile.com
> Web: http://www.systemmobile.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org