RE: ActionErrors deprecated?

2004-02-17 Thread Matthias Wessendorf
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

Re: ActionErrors deprecated?

2004-02-17 Thread Axel Groß
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

RE: ActionErrors deprecated?

2004-02-09 Thread Matthias Wessendorf
: 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

Re: ActionErrors deprecated?

2004-02-09 Thread David Erickson
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

RE: ActionErrors deprecated?

2004-02-09 Thread Matthias Wessendorf
- 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

RE: ActionErrors deprecated?

2004-02-09 Thread Larry Meadors
..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: > > >

RE: ActionErrors deprecated?

2004-02-09 Thread Wendy Smoak
> 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 ---

RE: ActionErrors deprecated?

2004-02-09 Thread Hubert Rabago
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:

RE: ActionErrors deprecated?

2004-02-09 Thread Hubert Rabago
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

RE: ActionErrors deprecated?

2004-02-09 Thread Slattery, Tim - BLS
> 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

RE: ActionErrors deprecated?

2004-02-09 Thread Matthias Wessendorf
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

RE: ActionErrors deprecated?

2004-02-09 Thread Slattery, Tim - BLS
> 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

RE: ActionErrors deprecated?

2004-02-09 Thread Wendy Smoak
> 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:

Re: ActionErrors deprecated?

2004-02-09 Thread Hubert Rabago
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