Re: struts2 actionerror & actionmessage

2007-10-26 Thread Igor Vlasov
a form have a action="add" and in the action > class(doThingAction.java) I add a message to actionmessage. The problem > here is the value are not store on the action that it rederected > to(). How can I get the > message that I added to on the first action? Help plz..... > >

struts2 actionerror & actionmessage

2007-10-25 Thread cuong.van.truong
I have this actions in the same namespace: example1.jsp doThing In a jsp file a form have a action="add" and in the action class(doThingAction.java) I add a message to actionmessage.

Re: ActionError / ActionMessage

2005-02-04 Thread Tim Christopher
> removing ActionError and ActionErrors, as they are the > cause of way too much confusion. What sort of confusion? As far as I can tell they are basically the same as ActionMessages... On Fri, 4 Feb 2005 07:46:23 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote: > In short, ActionError is totall

Re: ActionError / ActionMessage

2005-02-04 Thread Joe Germuska
In short, ActionError is totally deprecated and should never be used. ActionMessage is the preferred replacement for it. ActionErrors (a collection of ActionMessage objects) has not been deprecated yet because it is part of the public API of the ActionForm class (it is the return value from valid

Re: ActionError / ActionMessage

2005-02-03 Thread Corey Probst
> If so does anyone know why locale is now deprecated? A locale attribute of true stores a Locale object in the session and creates that session if it doesn't exist. This is not a good thing for apps that don't support them. Use the lang attribute to correctly accomplish this. http://struts.apa

Re: ActionError / ActionMessage

2005-02-03 Thread Tim Christopher
Am I right in thinking that HtmlTag relates to the element? >> http://struts.apache.org/api/org/apache/struts/taglib/html/HtmlTag.html If so does anyone know why locale is now deprecated? On Fri, 04 Feb 2005 02:10:31 +0100, Laurent <[EMAIL PROTECTED]> wrote: > Tim Christopher wrote: > > Hi, > >

Re: ActionError / ActionMessage

2005-02-03 Thread Corey Probst
> > Does this mean I should always use the ActionMessage, or does the > ActionError come in useful for certain situations? > ActionError was deprecated in version 1.2.0. Even if you are using a version prior to this you should still use ActionMessage for future considerations. ActionErrors wou

Re: ActionError / ActionMessage

2005-02-03 Thread Laurent
Tim Christopher wrote: Hi, Can anyone let me know when an ActionError should be used in place of an ActionMessage, or visa versa. It seems like the ActionMessage is preferred as it does not encourage markup to be placed within the resources file. Does this mean I should always use the ActionMessag

ActionError / ActionMessage

2005-02-03 Thread Tim Christopher
Hi, Can anyone let me know when an ActionError should be used in place of an ActionMessage, or visa versa. It seems like the ActionMessage is preferred as it does not encourage markup to be placed within the resources file. Does this mean I should always use the ActionMessage, or does the Action

RE: ActionError/ActionMessage

2004-06-18 Thread Joe Hertz
> To: 'Struts Users Mailing List' > Subject: RE: ActionError/ActionMessage > > > > Figured out the behavior. It works if I do this- > ><-- Gets the > non-validator > generated messages --> > > > <-- Gets validator

RE: ActionError/ActionMessage

2004-06-18 Thread Joe Hertz
ng question was a huge brainfreeze) > -Original Message- > From: Joe Hertz [mailto:[EMAIL PROTECTED] > Sent: Friday, June 18, 2004 12:28 PM > To: 'Struts Users Mailing List' > Subject: ActionError/ActionMessage > > > Using a 6/10 Nightly the I have a page with t

ActionError/ActionMessage

2004-06-18 Thread Joe Hertz
Using a 6/10 Nightly the I have a page with the following JSP snippet: This works fine with validator generated error messages. This works if in my Action I call the deprecated this.saveErrors(). If I call this.saveMessages() it does not. Same holds true for Has the identifier changed