Re: using multiple error messages

2004-05-11 Thread Niall Pemberton
Hey your welcome. Niall - Original Message - From: "Nimmons, Buster" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, May 11, 2004 10:48 PM Subject: RE: using multiple error messages > That was it...

RE: using multiple error messages

2004-05-11 Thread Nimmons, Buster
ailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, May 11, 2004 9:59 PM Subject: RE: using multiple error messages > here is the snippet of code which produces the ActionErrors object > > Long id = new Long(System.currentTimeMillis()); > ActionErrors errors = new

Re: using multiple error messages

2004-05-11 Thread Niall Pemberton
27;" <[EMAIL PROTECTED]> Sent: Tuesday, May 11, 2004 9:59 PM Subject: RE: using multiple error messages > here is the snippet of code which produces the ActionErrors object > > Long id = new Long(System.currentTimeMillis()); > ActionErrors errors = new

RE: using multiple error messages

2004-05-11 Thread Nimmons, Buster
ge- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 3:56 PM To: Struts Users Mailing List Subject: Re: using multiple error messages Well, works for me and dubugging your stuff without seeing your code is difficult. Niall - Original Message - From: "

Re: using multiple error messages

2004-05-11 Thread Niall Pemberton
Well, works for me and dubugging your stuff without seeing your code is difficult. Niall - Original Message - From: "Nimmons, Buster" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, May 11, 2004 9:44 PM

RE: using multiple error messages

2004-05-11 Thread Nimmons, Buster
I do in fact have and on the page to test for the existence of errors and it does display the errors -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 3:44 PM To: Struts Users Mailing List Subject: Re: using multiple error messages It only

Re: using multiple error messages

2004-05-11 Thread Niall Pemberton
ers Mailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, May 11, 2004 8:02 PM Subject: RE: using multiple error messages > The code suggested below seems to work as far as displaying the appropriate > header message if errors are present but none of the actual error messages

RE: using multiple error messages

2004-05-11 Thread Nimmons, Buster
: Struts Users Mailing List Subject: Re: using multiple error messages By default it looks for action errors under the same key as does (Globals.ERROR_KEY) or you can specify a message="true" attribute which causes it to look under the Globals.MESSAGE_KEY instead, or you can specify your ow

Re: using multiple error messages

2004-05-11 Thread Niall Pemberton
n is saved as so I > don't know what to specify in the id attribute.. Does struts define a > constant somewhere defining the bean id > > -Original Message- > From: Niall Pemberton [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 11, 2004 10:39 AM > To: Struts Users Ma

Re: using multiple error messages

2004-05-11 Thread Niall Pemberton
ml.html#messages > > Niall > > - Original Message - > From: "Nimmons, Buster" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, May 11, 2004 2:07 PM > Subject: using multiple error messages > > > > currently my A

RE: using multiple error messages

2004-05-11 Thread Nimmons, Buster
where defining the bean id -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 10:39 AM To: Struts Users Mailing List Subject: Re: using multiple error messages The tag does exactly what you want - you can specify the header/footer/suffix/pref

Re: using multiple error messages

2004-05-11 Thread Niall Pemberton
IL PROTECTED]> Sent: Tuesday, May 11, 2004 2:07 PM Subject: using multiple error messages > currently my ApplicationResources.properties file contains the following > errors.header entry > > The following error occurredYou must > correct the following error(s) before proceedi

RE: using multiple error messages

2004-05-11 Thread Nimmons, Buster
ssage- From: Nimmons, Buster [mailto:[EMAIL PROTECTED] Sent: 11 May 2004 14:07 To: '[EMAIL PROTECTED]' Subject: using multiple error messages currently my ApplicationResources.properties file contains the following errors.header entry The following error occurredYou must correct the fo

RE: using multiple error messages

2004-05-11 Thread Daniel Perry
: Nimmons, Buster [mailto:[EMAIL PROTECTED] Sent: 11 May 2004 14:07 To: '[EMAIL PROTECTED]' Subject: using multiple error messages currently my ApplicationResources.properties file contains the following errors.header entry The following error occurredYou must correct the following error

using multiple error messages

2004-05-11 Thread Nimmons, Buster
currently my ApplicationResources.properties file contains the following errors.header entry The following error occurredYou must correct the following error(s) before proceeding\: this is fine for application errors. However I would like to define a different header for System errors so I may su