Re: problem in custom validation method

2005-03-04 Thread Sivakumar Santharam
Niall Pemberton blueyonder.co.uk> writes: > > The validation method signatures in Struts 1.2 changed from ActionErrors to > ActionMessages, but it looks like you're trying to use a Struts 1.1 format > method with Struts 1.2. > > Try changing your method signature to use ActionMessages. > > Nia

Re: problem in custom validation method

2005-03-04 Thread Sivakumar Santharam
Niall Pemberton blueyonder.co.uk> writes: > > Probably the best place to look is the "upgrade notes" page in the wiki. > Unfortunately this issue wasn't on it, so I've just added a note about it. > > http://wiki.apache.org/struts/StrutsUpgradeNotes11to124 > > Niall > > - Original Message

Re: problem in custom validation method

2005-03-03 Thread Niall Pemberton
Probably the best place to look is the "upgrade notes" page in the wiki. Unfortunately this issue wasn't on it, so I've just added a note about it. http://wiki.apache.org/struts/StrutsUpgradeNotes11to124 Niall - Original Message - From: "Erik Weber" <[EMAIL PROTECTED]> Sent: Thursday, M

Re: problem in custom validation method

2005-03-03 Thread Erik Weber
Geez, thanks Niall. I've been posting custom validation examples that wouldn't work with 1.2 and didn't realize it. Please let me know if there are any other significant validator plugin changes from 1.1 to 1.2. Erik Niall Pemberton wrote: The validation method signatures in Struts 1.2 changed f

Re: problem in custom validation method

2005-03-03 Thread Niall Pemberton
The validation method signatures in Struts 1.2 changed from ActionErrors to ActionMessages, but it looks like you're trying to use a Struts 1.1 format method with Struts 1.2. Try changing your method signature to use ActionMessages. Niall - Original Message - From: "Sivakumar Santharam"

Re: problem in custom validation method

2005-03-03 Thread Sivakumar Santharam
Bill Siggelkow bellsouth.net> writes: > > It looks like to me that the Validator is not finding your method > definition. Recheck the declaration in the validator-rules.xml file. > The signature and class name there must match your actual class and > method exactly. > > On 2005-03-03 14:28:5

Re: problem in custom validation method

2005-03-03 Thread Bill Siggelkow
It looks like to me that the Validator is not finding your method definition. Recheck the declaration in the validator-rules.xml file. The signature and class name there must match your actual class and method exactly. On 2005-03-03 14:28:52 -0500, Sivakumar Santharam <[EMAIL PROTECTED]> said:

problem in custom validation method

2005-03-03 Thread Sivakumar Santharam
I am using struts 1.2.4 I created a new custom validation method in a validator class. I added a new validation rule to the validator-rules.xml file and new validation definitions to the validation.xml file. I get the following error when the custome validation method is called. When I tried to