Re: Using ActionMessages

2008-05-23 Thread Laurie Harper
Dimitris Mouchritsas wrote: Hi all, We use Struts 1.2.4 in our application and I'd like to refactor some code to use ActionMessage(s) instead of ActionError(s). Can somebody show me a solid example (or point me to an article) on how to do it? Also, when I tried before to completely remove Act

Using ActionMessages

2008-05-23 Thread Dimitris Mouchritsas
Hi all, We use Struts 1.2.4 in our application and I'd like to refactor some code to use ActionMessage(s) instead of ActionError(s). Can somebody show me a solid example (or point me to an article) on how to do it? Also, when I tried before to completely remove ActionErrors, the action was co

Re: Problem using ActionMessages!

2005-10-21 Thread Niall Pemberton
Where is your ApplicationResources.properties file? Is it in WEB-INF/classes/ApplicationResources.properties? Try turning logging on in "debug" mode for Struts - you should see it load your message resources. Niall On 10/21/05, Sonali Kulkarni <[EMAIL PROTECTED]> wrote: > I am in the process of

Problem using ActionMessages!

2005-10-21 Thread Sonali Kulkarni
I am in the process of upgrading Struts from 1.0 to 1.2.7 Right now I am trying to change the error handling bit. However, I get the following error with the code changes I have made. Please let me know if any of you can figure out what can fix it. MY CODE: In the Action Class ActionMessages messa

RE: Using ActionMessages in the session

2004-05-25 Thread Paul McCulloch
The session scope equivalent of "saveErrors(request, errors)" is "request.getSession().setAttribute(Globals.ERROR_KEY, errors)". Paul > -Original Message- > From: Jim Kennedy [mailto:[EMAIL PROTECTED] > Sent: 25 May 2004 14:30 > To: 'Struts

Using ActionMessages in the session

2004-05-25 Thread Jim Kennedy
I am using struts 1.1 and have implemented ActionMessages inside some generalized user-response pages. The problem I'm having is that these messages are not visible when I redirect from my controller action. I'm sure this is because "saveMessages" only saves the ActionMessages in request-scope.