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
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
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
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
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
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
Sorry, left out the "ERRORS" sort of header.
Michael McGrady
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)
9 matches
Mail list logo