You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by louis majanja <lo...@ironpulse.com> on 2003/03/12 21:34:32 UTC

Help with ActionMessages

i need help with ActionMessages it doesn't seem to work like the way i
expect it

here is what i have in my ActionForm

ActionMessages messages = new ActionMessages();

   messages.add("message",
		  new ActionMessage("message.login.confirmation"));

in my jsp i have

<html:messages/>

which doesn't work 

i thought the <html:messages/> should work the same way as <html:errors>
http://jakarta.apache.org/struts/userGuide/release-notes-1.1-rc1.html

i am using -rc1

thank you

Louis


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


Re: Help with ActionMessages

Posted by louis majanja <lo...@ironpulse.com>.
Yes i tried 
<html:messages message="true"/>

 and it does not work

On Wed, 2003-03-12 at 12:34, James Mitchell wrote:
> Did you try this?
> 
> <html:messages message="true"/>
> 
> 
> 
> 
> --
> James Mitchell
> Software Developer/Struts Evangelist
> http://struts.sourceforge.net/struts-atlanta/
> 
> ----- Original Message ----- 
> From: "louis majanja" <lo...@ironpulse.com>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Wednesday, March 12, 2003 3:34 PM
> Subject: Help with ActionMessages
> 
> 
> > i need help with ActionMessages it doesn't seem to work like the way i
> > expect it
> > 
> > here is what i have in my ActionForm
> > 
> > ActionMessages messages = new ActionMessages();
> > 
> >    messages.add("message",
> >   new ActionMessage("message.login.confirmation"));
> > 
> > in my jsp i have
> > 
> > <html:messages/>
> > 
> > which doesn't work 
> > 
> > i thought the <html:messages/> should work the same way as <html:errors>
> > http://jakarta.apache.org/struts/userGuide/release-notes-1.1-rc1.html
> > 
> > i am using -rc1
> > 
> > thank you
> > 
> > Louis
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 

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


Re: Help with ActionMessages

Posted by James Mitchell <jm...@apache.org>.
Did you try this?

<html:messages message="true"/>




--
James Mitchell
Software Developer/Struts Evangelist
http://struts.sourceforge.net/struts-atlanta/

----- Original Message ----- 
From: "louis majanja" <lo...@ironpulse.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Wednesday, March 12, 2003 3:34 PM
Subject: Help with ActionMessages


> i need help with ActionMessages it doesn't seem to work like the way i
> expect it
> 
> here is what i have in my ActionForm
> 
> ActionMessages messages = new ActionMessages();
> 
>    messages.add("message",
>   new ActionMessage("message.login.confirmation"));
> 
> in my jsp i have
> 
> <html:messages/>
> 
> which doesn't work 
> 
> i thought the <html:messages/> should work the same way as <html:errors>
> http://jakarta.apache.org/struts/userGuide/release-notes-1.1-rc1.html
> 
> i am using -rc1
> 
> thank you
> 
> Louis
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


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