Re: Displaying errors messages from validate in V1.2.4

2004-12-18 Thread Niall Pemberton
Your ActionMessage should contain the key to a message in some message resources, rather than the actual message itself. Something like... errors.add(ActionErrors.GLOBAL_MESSAGE, new ActionMessage( "user.required" ) ); then define "user.required=User name is null" in your message resources.

RE: Displaying errors messages from validate in V1.2.4

2004-12-17 Thread alan . sinclair
2004 1:04 PM To: Struts Users Mailing List <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: RE: Displaying errors messages from validate in V1.2.4 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, December 17, 2004 1:47 PM &g

RE: Displaying errors messages from validate in V1.2.4

2004-12-17 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, December 17, 2004 1:47 PM > To: [EMAIL PROTECTED] > Subject: Displaying errors messages from validate in V1.2.4 > > > Hi, > I cannt find the correct setup for to display > error messages from a fo