saveErrors / getErrors

2005-12-14 Thread Nicolas De Loof
Hello, As Struts no automagically delete errors messages after beeing displayed even if put into session scope, why not ALWAYS put errors messages into this scope ? What use case makes saveErrors(request, ActionMessages) usefull compared to saveErrors(session, ActionMessages) ? saveErrors

DO NOT REPLY [Bug 33918] - Allow saveErrors(session, messages) like saveMessages(session, messages)

2005-12-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 33918] - Allow saveErrors(session, messages) like saveMessages(session, messages)

2005-12-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 29792] - Action method saveErrors lose messages on chained actions

2005-12-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 29792] - Action method saveErrors lose messages on chained actions

2005-12-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: saveErrors

2005-05-16 Thread Davide Cavallari
plication.properties. Put a line like the following in it: err.ex=Le CINn Agent doit etre numérique: Mise à jour non réalisée. Then use: errors.add("erreur",new ActionError("err.ex")); before saveErrors(). Notice that

saveErrors

2005-05-13 Thread Zakaria KHABOT
hi all, in my action I put : errors.add("erreur",new ActionError("Le CINn Agent doit etre numérique: Mise à jour non réalisée")); saveErrors(request,errors); But the errors are not displayed in the JSP althought : log.info("la taille des erreurs est " + errors.siz

DO NOT REPLY [Bug 29792] - Action method saveErrors lose messages on chained actions

2005-05-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 29792] - Action method saveErrors lose messages on chained actions

2005-05-02 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 29792] - Action method saveErrors lose messages on chained actions

2005-05-02 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 33918] - Allow saveErrors(session, messages) like saveMessages(session, messages)

2005-04-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 33918] - Allow saveErrors(session, messages) like saveMessages(session, messages)

2005-04-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 33918] - Allow saveErrors(session, messages) like saveMessages(session, messages)

2005-04-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 33918] - Allow saveErrors(session, messages) like saveMessages(session, messages)

2005-03-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 33918] - Allow saveErrors(session, messages) like saveMessages(session, messages)

2005-03-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 33918] New: - Allow saveErrors(session, messages) like saveMessages(session, messages)

2005-03-08 Thread bugzilla
gzilla/show_bug.cgi?id=33918 Summary: Allow saveErrors(session, messages) like saveMessages(session, messages) Product: Struts Version: 1.2.4 Platform: Macintosh OS/Version: Mac OS X 10.0 Status: NEW Severity:

DO NOT REPLY [Bug 29792] - Action method saveErrors lose messages on chained actions

2004-06-25 Thread bugzilla
gzilla/show_bug.cgi?id=29792 Action method saveErrors lose messages on chained actions [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RE

DO NOT REPLY [Bug 29792] - Action method saveErrors lose messages on chained actions

2004-06-25 Thread bugzilla
gzilla/show_bug.cgi?id=29792 Action method saveErrors lose messages on chained actions --- Additional Comments From [EMAIL PROTECTED] 2004-06-25 14:28 --- I have added another patch that contains addErrors() and addMessages(). I will leave it up to you guys which one to imp

DO NOT REPLY [Bug 29792] - Action method saveErrors lose messages on chained actions

2004-06-25 Thread bugzilla
gzilla/show_bug.cgi?id=29792 Action method saveErrors lose messages on chained actions --- Additional Comments From [EMAIL PROTECTED] 2004-06-25 14:26 --- Created an attachment (id=11946) Action patch - contains addErrors()

DO NOT REPLY [Bug 29792] - Action method saveErrors lose messages on chained actions

2004-06-25 Thread bugzilla
gzilla/show_bug.cgi?id=29792 Action method saveErrors lose messages on chained actions --- Additional Comments From [EMAIL PROTECTED] 2004-06-25 14:11 --- I have added a patch that contains the new methods. I have deferred to greater wisdom :) , and shortened the method names. I agr

DO NOT REPLY [Bug 29792] - Action method saveErrors lose messages on chained actions

2004-06-25 Thread bugzilla
gzilla/show_bug.cgi?id=29792 Action method saveErrors lose messages on chained actions --- Additional Comments From [EMAIL PROTECTED] 2004-06-25 14:00 --- Created an attachment (id=11945) Action patch with getErrors and getMe

DO NOT REPLY [Bug 29792] - Action method saveErrors lose messages on chained actions

2004-06-25 Thread bugzilla
gzilla/show_bug.cgi?id=29792 Action method saveErrors lose messages on chained actions --- Additional Comments From [EMAIL PROTECTED] 2004-06-25 13:56 --- This was discussed in passing on the users list this week also. We talked about adding "addErrors" and "addMessages&qu

DO NOT REPLY [Bug 29792] - Action method saveErrors lose messages on chained actions

2004-06-25 Thread bugzilla
gzilla/show_bug.cgi?id=29792 Action method saveErrors lose messages on chained actions --- Additional Comments From [EMAIL PROTECTED] 2004-06-25 13:35 --- I will work on submitting a patch with 2 new methods on the Action class - getExistingErrors(req) and getExistingMessages(req) Th

DO NOT REPLY [Bug 29792] - Action method saveErrors lose messages on chained actions

2004-06-24 Thread bugzilla
gzilla/show_bug.cgi?id=29792 Action method saveErrors lose messages on chained actions --- Additional Comments From [EMAIL PROTECTED] 2004-06-25 01:04 --- I've done this in my base action on several projects. If you care to offer a patch, that would be great. If not, I'll get a

DO NOT REPLY [Bug 29792] - Action method saveErrors lose messages on chained actions

2004-06-24 Thread bugzilla
gzilla/show_bug.cgi?id=29792 Action method saveErrors lose messages on chained actions --- Additional Comments From [EMAIL PROTECTED] 2004-06-25 01:01 --- The general feeling among the Committers is that Actions should not be chained in this way. Only one Action per request should be gene

DO NOT REPLY [Bug 29792] New: - Action method saveErrors lose messages on chained actions

2004-06-24 Thread bugzilla
gzilla/show_bug.cgi?id=29792 Action method saveErrors lose messages on chained actions Summary: Action method saveErrors lose messages on chained actions Product: Struts Version: Unknown Platform: All OS/Version: Other

Re: saveErrors...

2004-06-23 Thread Mark R. Diggory
Joe Germuska wrote: If I have errors occur in different locations, rather than returning ActionMessages objects and having to merge them myself prior to calling "saveErrors" or "saveMessages", why not have this be more like "addError" or "addMessage" at t

Re: saveErrors...

2004-06-23 Thread Joe Germuska
If I have errors occur in different locations, rather than returning ActionMessages objects and having to merge them myself prior to calling "saveErrors" or "saveMessages", why not have this be more like "addError" or "addMessage" at the action level so th

Re: saveErrors...

2004-06-23 Thread Mark R. Diggory
Mark R. Diggory wrote: I was looking at the code for Action.saveErrors(...) and was think this is a little inflexible when it comes to error and message management: protected void saveErrors(HttpServletRequest request, ActionMessages errors) { // Remove any error messages attribute

saveErrors...

2004-06-23 Thread Mark R. Diggory
I was looking at the code for Action.saveErrors(...) and was think this is a little inflexible when it comes to error and message management: protected void saveErrors(HttpServletRequest request, ActionMessages errors) { // Remove any error messages attribute if none are required

saveErrors and saveMessages implementation question.

2004-06-08 Thread Bullard, James
what happened in the call to myExecute. The problem is that saveErrors will delete the key Globals.ERROR_KEY in the request if you pass in null, without checking whether other errors have been added. It is a simple workaround: if (!errors.isEmpty()) { saveErrors(request, errors); } However, the