RE: Errors or messages or??

2004-02-10 Thread Joe Germuska
At 1:55 PM -0700 2/10/04, Wendy Smoak wrote: I added a page to the FAQ section: http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsDeprecatedActionErrors It has the code I posted yesterday, which I still am not sure is the officially correct way to handle errors in 1.2. Can someone take a look and

RE: Errors or messages or??

2004-02-10 Thread Wendy Smoak
I added a page to the FAQ section: http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsDeprecatedActionError s It has the code I posted yesterday, which I still am not sure is the officially correct way to handle errors in 1.2. Can someone take a look and either fix it or approve of it? (And pos

RE: Errors or messages or??

2004-02-10 Thread Matthias Wessendorf
, February 10, 2004 9:36 PM To: Struts Users Mailing List Subject: RE: Errors or messages or?? Yeah, that's excellent. It looks like there is at least one add-in package that has a dependency. Though it sounds like an easy fix, does it make sense for a developer to try to remove ActionErrors

RE: Errors or messages or??

2004-02-10 Thread Slattery, Tim - BLS
> Not sure if you're just venting, or looking for a solution, > but... you can install the struts-documentation.war that came > with the Struts 1.1 binary distribution, and then you'll have > the documentation that goes with the release you're using. Thank you! I hadn't found that. -- Tim Slat

RE: Errors or messages or??

2004-02-10 Thread Wendy Smoak
> Tim Slattery > It really bugs me that the javadoc and (apparently) the tag > docs at the web site describe the "nightly build" version and > not the stable, released version. Not sure if you're just venting, or looking for a solution, but... you can install the struts-documentation.war that c

RE: Errors or messages or??

2004-02-10 Thread Durham David Contr 805 CSPTS/SCE
s 1.2? Dave > -Original Message- > From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 10, 2004 2:14 PM > To: 'Struts Users Mailing List' > Subject: RE: Errors or messages or?? > > Hi Dave, > > in http://jakarta.apache.org

RE: Errors or messages or??

2004-02-10 Thread Matthias Wessendorf
CSPTS/SCE [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 8:59 PM To: Struts Users Mailing List Subject: RE: Errors or messages or?? > I for one think that a lot of this is guilding the lily and is counter > productive. I think that you meant *gilding* the lily or even painting

RE: Errors or messages or??

2004-02-10 Thread Durham David Contr 805 CSPTS/SCE
> I for one think that a lot of this is guilding the lily and is counter > productive. I think that you meant *gilding* the lily or even painting the lily. I'm actually interested in this topic. Is there some existing documentation about the removal of ActionErrors and ways to deal with its re

RE: Errors or messages or??

2004-02-10 Thread Michael McGrady
I for one think that a lot of this is guilding the lily and is counter productive. At 10:19 AM 2/10/2004, Joe Germuska wrote: At 12:56 PM -0500 2/10/04, Slattery, Tim - BLS wrote: > The deprecation is for the nightly build/Struts 1.2 distribution. If you're using 1.1 (like I am), there's no s

RE: Errors or messages or??

2004-02-10 Thread Slattery, Tim - BLS
> ActionErrors extends ActionMessages, even in Struts 1.1 > http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-struts/src/share/org/ap ache/struts/action/ActionErrors.java?content-type=text%2Fplain&rev=1.11 > Clearly there's a lot of confusion around this, but the idea behind > the naming was

RE: Errors or messages or??

2004-02-10 Thread Joe Germuska
At 12:56 PM -0500 2/10/04, Slattery, Tim - BLS wrote: > The deprecation is for the nightly build/Struts 1.2 distribution. If you're using 1.1 (like I am), there's no saveErrors(request, actionMessages) just yet. Then there's no point in converting any ActionError or ActionErrors usage to Action

RE: Errors or messages or??

2004-02-10 Thread Slattery, Tim - BLS
> The deprecation is for the nightly build/Struts 1.2 > distribution. If you're using 1.1 (like I am), there's no > saveErrors(request, actionMessages) just yet. Then there's no point in converting any ActionError or ActionErrors usage to ActionMessage or ActionMessages yet, since you can't sen

Re: Errors or messages or??

2004-02-10 Thread Hubert Rabago
The deprecation is for the nightly build/Struts 1.2 distribution. If you're using 1.1 (like I am), there's no saveErrors(request, actionMessages) just yet. Once you start using 1.2 (or the nightly build), you can use the saveErrors() that accepts ActionMessages; the one which accepts ActionErrors

Re: Errors or messages or??

2004-02-10 Thread Mark Lowe
I was in the same boat, thinking that html:errors tag was up for deprecation, but no. Just ActionErrors are, ActionMessages can be rendered using html:errors. On 10 Feb 2004, at 17:10, Slattery, Tim - BLS wrote: With Struts 1.1, we have support for both error messages and non-error messages. W

RE: Errors or messages or??

2004-02-10 Thread Slattery, Tim - BLS
> With Struts 1.1, we have support for both error messages and > non-error messages. We use saveMessages() for non-error and > saveErrors() for error messages. In our JSPs, we can use the > tag to display them: OK, that helps. But can you tell me why I can't use saveErrors with an ActionMess

Re: Errors or messages or??

2004-02-10 Thread Hubert Rabago
With Struts 1.1, we have support for both error messages and non-error messages. We use saveMessages() for non-error and saveErrors() for error messages. In our JSPs, we can use the tag to display them: The tag gives access to th

Errors or messages or??

2004-02-10 Thread Slattery, Tim - BLS
I'm still trying to figure out the new method for reporting errors to the user. We create an ActionMessage (instead of an ActionError), we add that to an ActionMessages object (instead of ActionErrors) and we use in the JSP instead of . Right so far? In the javadoc for the Action object, it show