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(

RE: ActionErrors deprecated?

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

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: void add

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 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 an

RE: ActionErrors deprecated?

2004-02-09 Thread Matthias Wessendorf
PROTECTED] Sent: Monday, February 09, 2004 9:14 PM To: 'Struts Users Mailing List' Subject: RE: ActionErrors deprecated? 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

RE: ActionErrors deprecated?

2004-02-09 Thread Slattery, Tim - BLS
in jsp use this: html:text property=foo/ struts-html:messages id=error property=foo struts-bean:write name=error/ /struts-html:messages Maybe I'm dumb, but I can't make any sense of this. Use it for what? -- Tim Slattery [EMAIL PROTECTED]

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 html:errors/ tag in the nightly

RE: ActionErrors deprecated?

2004-02-09 Thread Hubert Rabago
It's the new and improved way to display messages on your pages. html:errors/ sometimes needed html markup on the message resources file to format the messages properly. The new html:messages tag gives the JSP full control over formatting, which is where it should be. --- Slattery, Tim - BLS

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 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: html:text

RE: ActionErrors deprecated?

2004-02-09 Thread Matthias Wessendorf
-html:messages i add an ActionMessage-object to the action.errors.collection cheers, -Original Message- 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: html:text

Re: ActionErrors deprecated?

2004-02-09 Thread David Erickson
Subject: RE: ActionErrors deprecated? It's the new and improved way to display messages on your pages. html:errors/ sometimes needed html markup on the message resources file to format the messages properly. The new html:messages tag gives the JSP full control over formatting, which is where

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