html:errors/ problems

2003-07-02 Thread Brian McSweeney
Hi all, I'm trying to display errors on a jsp to which my form returns if the data submitted is invalid. My form extends org.apache.struts.validator.ValidatorForm some fields use the validator form validation, but for custom server side validation I overwrite the validate method as follows:

Re: html:errors/ problems

2003-07-02 Thread vellosa
:Wed, 02 Jul 2003 10:28:03 to: [EMAIL PROTECTED] subject: Re: html:errors/ problems Hi all, I'm trying to display errors on a jsp to which my form returns if the data submitted is invalid. My form extends org.apache.struts.validator.ValidatorForm some fields use

RE: html:errors/ problems

2003-07-02 Thread Brian McSweeney
July 2003 10:40 To: [EMAIL PROTECTED] Subject: Re: html:errors/ problems Hi Brian, I had a problem like that when I ommited the following values from my ApplicationResources file: errors.header = ul errors.footer = /ul errors.prefix = li errors.suffix = Once I added them it worked fine

RE: html:errors/ problems

2003-07-02 Thread vellosa
:[EMAIL PROTECTED] Sent: 02 July 2003 10:40 To: [EMAIL PROTECTED] Subject: Re: html:errors/ problems Hi Brian, I had a problem like that when I ommited the following values from my ApplicationResources file: errors.header = ul errors.footer = /ul errors.prefix = li

RE: html:errors/ problems

2003-07-02 Thread Brian McSweeney
fine. I really appreciate your help! Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 11:26 To: [EMAIL PROTECTED] Subject: RE: html:errors/ problems Brian, You want to have the message key in your ActionError and struts will resolve

RE: html:errors/ problems

2003-07-02 Thread Kris Schneider
the message in my Resource bundle. Once I put it in, everything worked fine. I really appreciate your help! Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 11:26 To: [EMAIL PROTECTED] Subject: RE: html:errors/ problems Brian, You

RE: html:errors/ problems

2003-07-02 Thread Brian McSweeney
Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 12:38 To: Struts Users Mailing List Subject: RE: html:errors/ problems Brian, Now that the messages are working, one other thing you might want to check is whether your validator-based validation errors are really being

RE: html:errors/ problems

2003-07-02 Thread Kris Schneider
: html:errors/ problems Brian, Now that the messages are working, one other thing you might want to check is whether your validator-based validation errors are really being captured. The first few lines of your validate method look like they just ignore the result of calling super.validate

RE: html:errors/ problems

2003-07-02 Thread Brian McSweeney
Absolutely! Large open-source projects...unbeatable!! Viva la revolucion! -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 14:23 To: Struts Users Mailing List Subject: RE: html:errors/ problems ;-) Glad it helped. Nothing like having billions