RE: ActionMessages problem

2004-12-27 Thread Sudheer
12:23 AM To: 'user@struts.apache.org ' Subject: ActionMessages problem Hello, I'm sure it's something simple, but I can't get my ActionMessage to display in my JSP page. Action class code: ActionMessages messages = new ActionMessages(); messages.add(ActionMessages.GLOBAL_M

RE: ActionMessages problem

2004-12-27 Thread Barnett, Brian W.
Yes, I have the necessary tag libraries imported. -Original Message- From: Kishore Senji To: Struts Users Mailing List Sent: 12/27/2004 6:40 PM Subject: Re: ActionMessages problem Make sure that you have imported the "html" tag library On Mon, 27 Dec 2004 12:53:27 -0600, Barn

Re: ActionMessages problem

2004-12-27 Thread Kishore Senji
Make sure that you have imported the "html" tag library On Mon, 27 Dec 2004 12:53:27 -0600, Barnett, Brian W. <[EMAIL PROTECTED]> wrote: > Hello, > I'm sure it's something simple, but I can't get my ActionMessage to display > in my JSP page. > > Action class code: > ActionMessages messages = new

ActionMessages problem

2004-12-27 Thread Barnett, Brian W.
Hello, I'm sure it's something simple, but I can't get my ActionMessage to display in my JSP page. Action class code: ActionMessages messages = new ActionMessages(); messages.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("errors.includedAmountGreaterThanAmountSpecified")); saveMessages(requ

Re: ActionMessage and ActionMessages Problem

2004-09-25 Thread Michael McGrady
Mark Lowe wrote: Satish ActionErrors isn't deprecated, ActionError is... http://struts.apache.org/api/org/apache/struts/action/ActionErrors.html ActionErrors errors = new ActionErrors(); errors.add("myproperty" , new ActionMessage(...)); return errors; And then personally i prefer But there are go

Re: ActionMessage and ActionMessages Problem

2004-09-25 Thread Mark Lowe
Satish ActionErrors isn't deprecated, ActionError is... http://struts.apache.org/api/org/apache/struts/action/ActionErrors.html ActionErrors errors = new ActionErrors(); errors.add("myproperty" , new ActionMessage(...)); return errors; And then personally i prefer But there are good reasons for pr

Re: ActionMessage and ActionMessages Problem

2004-09-25 Thread Michael McGrady
Sorry, left out the "ERRORS" sort of header. Michael McGrady

Re: ActionMessage and ActionMessages Problem

2004-09-25 Thread Michael McGrady

ActionMessage and ActionMessages Problem

2004-09-25 Thread Satish Talim
Hello, I am using Struts 1.2.4 on JBoss 3.2.5. In my ActionForm validate method, I have the following code - ActionErrors errors = new ActionErrors(); ActionMessages messages = new ActionMessages(); ActionMessage msg = null; if (getLoginID() == null || getLoginID().length() < 1)