Re: Pluggable Validator question

2006-04-25 Thread kkumar
Everyone, I found the problem in my code. I was using ActionErrors in my custom validation method instead of ActionMessages. I found again that the mistakes done on obvious pieces are difficult to track down. Do I need to close this discussion? Thanks all, Kiran ---

Re: Pluggable Validator question

2006-04-25 Thread kkumar
Hi Niall, Up on further search, I found questions like mine in various forums. The problem is I guess I am not adding the errors in the validation method correctly. Also, the I added the following line in my method. --- errors = new ActionErrors(); I did this because

Re: Pluggable Validator question

2006-04-25 Thread kkumar
Struts Users Mailing List" 04/24/2006 08:15 PM cc S

Re: Pluggable Validator question

2006-04-24 Thread Niall Pemberton
On 4/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello All, > > I am trying to use the TwoField pluggable Validator example from the > struts's site. I replaced the deprecated method calls in > validateTwoFields(..). For some reason, when I run my application, it > doesn't validate the

Re: Pluggable Validator question

2006-04-24 Thread kkumar
04/24/2006 04:43 PM cc Subject Please respond to Re: Pluggable Validator question "Struts Users

Re: Pluggable Validator question

2006-04-24 Thread Dave Newton
[EMAIL PROTECTED] wrote: > What am I doing wrong? > Don't know. Unfortunately showing us an action mapping isn't enough to help, since there's configuration, code, etc. involved. Dave - To unsubscribe, e-mail: [EMAIL PROTE

Pluggable Validator question

2006-04-24 Thread kkumar
Hello All, I am trying to use the TwoField pluggable Validator example from the struts's site. I replaced the deprecated method calls in validateTwoFields(..). For some reason, when I run my application, it doesn't validate the input fields. Instead it directly takes me to the success page after