s 1.2)
and saveMassages with ActionMessages
btw. a new saveMessages() is also there
for saving in session
greetings
matthias
-Original Message-
From: Axel Groß [mailto:[EMAIL PROTECTED] On Behalf Of Axel Groß
Sent: Tuesday, February 17, 2004 1:28 PM
To: Struts Users Mailing List
Subject: Re: Ac
Hi Wendy!
On 2004-02-09 at 13:04:36 -0700, Wendy Smoak wrote:
>...
> I was trying to get it straight recently, and made this note to myself:
>
> In the Action:
>
>ActionMessages am = new ActionMessages();
>am.add( ActionMessages.GLOBAL_MESSAGE,
>new ActionMessage( "not.aut
: David Erickson [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 9:41 PM
To: Struts Users Mailing List
Subject: Re: ActionErrors deprecated?
Can we expect to have struts 1.2 fully moved over to using solely
html:messages? Including all the validate methods on actions etc?
-David
ent: Monday, February 09, 2004 1:32 PM
Subject: RE: ActionErrors deprecated?
> It's the new and improved way to display messages on your pages.
> sometimes needed html markup on the message resources file
to
> format the messages properly. The new tag gives the JSP
full
> con
-
From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 9:29 PM
To: 'Struts Users Mailing List'
Subject: RE: ActionErrors deprecated?
> in jsp use this:
>
>
>
>
Maybe I'm dumb, but I can't make any sense of this. Use i
..instead of the html:errors tag.
The ActionError and ActionErrors classes are going away.
Avoid creating more dependencies on them now (and thus more pain later)
by using ActionMessage/ActionMessages instead. :-)
Larry
>>> [EMAIL PROTECTED] 02/09/04 1:29 PM >>>
> in jsp use this:
>
>
>
> From: Hubert Rabago [mailto:[EMAIL PROTECTED]
> Wendy, are you using that code with 1.1?
I'm using a recent nightly build, so it's probably considered 1.2.
--
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management
---
It's the new and improved way to display messages on your pages.
sometimes needed html markup on the message resources file to
format the messages properly. The new tag gives the JSP full
control over formatting, which is where it should be.
--- "Slattery, Tim - BLS" <[EMAIL PROTECTED]> wrote:
There's one thing I forgot to mention. That statement I made is for the
nightly build/Struts 1.2. ActionError isn't marked as deprecated in 1.1.
Are you talking about the ActionForm.validate() method? For the nightly
build, yes, that looks about right. The tag in the nightly
build doesn't e
> in jsp use this:
>
>
>
>
Maybe I'm dumb, but I can't make any sense of this. Use it for what?
--
Tim Slattery
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
Hi Tim,
yes only Error, not Errors, because of
validate()
in jsp use this:
cheers, !
matthias
-Original Message-
From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 9:14 PM
To: 'Struts Users Mailing List'
Subject: RE: ActionErrors
> Yes, we're supposed to use ActionMessage and ActionMessages
> now. The one place where we can't escape ActionError/s yet is
> ActionForm's validate method.
Wait a minute!!! ActionError is marked as deprecated, but not ActionErrors.
It looks to me like we create an ActionMessage, add that to a
> From: Hubert Rabago [mailto:[EMAIL PROTECTED]
> Yes, we're supposed to use ActionMessage and ActionMessages
> now. The one
> place where we can't escape ActionError/s yet is ActionForm's validate
> method.
I was trying to get it straight recently, and made this note to myself:
In the Action:
Yes, we're supposed to use ActionMessage and ActionMessages now. The one
place where we can't escape ActionError/s yet is ActionForm's validate
method.
--- "Slattery, Tim - BLS" <[EMAIL PROTECTED]> wrote:
> While refreshing my memory on the ActionErrors class, I noticed that the
> metho:
>
> vo
14 matches
Mail list logo