Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Dave Newton
Cool; glad you got it working. Dave On Mon, Jun 27, 2011 at 8:37 AM, Maithily wrote: > Oh! yes, thanks for pointing that out. It works smoothly. > Apologies for the silly mistake. > > Regards, > Maithily. > > On Mon, Jun 27, 2011 at 6:03 PM, Dave Newton wrote: > >> From http://struts.apache.org

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Maithily
Oh! yes, thanks for pointing that out. It works smoothly. Apologies for the silly mistake. Regards, Maithily. On Mon, Jun 27, 2011 at 6:03 PM, Dave Newton wrote: > From http://struts.apache.org/1.2.4/userGuide/dev_validator.html > > * minlength - validate input data isn't less than a specified

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Dave Newton
>From http://struts.apache.org/1.2.4/userGuide/dev_validator.html * minlength - validate input data isn't less than a specified minimum length. Requires a minlength variable. minlength3 So, it's a colon there. Dave On Mon, Jun 27, 2011 at 8:31 AM, Maithily

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Maithily
Yeah, it renders as you have said. I have declared the var as per the struts validator documents. minlength 6 I also tried this configuring it like this -

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Dave Newton
Oh, you're saying that the error message *renders* as "... less than ${var.minlength} characters"? What happens when you declare the var as ${var:minlength} as in the docs? Dave On Mon, Jun 27, 2011 at 8:17 AM, Maithily wrote: > Thanks  for the reply Dave. > > The default error message configur

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Maithily
Thanks for the reply Dave. The default error message configured as follows errors.minlength={0} can not be less than {1} characters. Regards, Maithily On Mon, Jun 27, 2011 at 4:30 PM, Dave Newton wrote: > {1} like the default message. > > Dave > On Jun 27, 2011 3:14 AM, "Maithily" wrote: >

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Dave Newton
{1} like the default message. Dave On Jun 27, 2011 3:14 AM, "Maithily" wrote: > Hi, > > I am new to this mailing list and am facing a problem using the "minlength" > field validation provided by the Struts Validation Framework. > Struts version - 1.2.4 > Application Server - Apache Tomcat (5.5)

Struts 1.2.4 validator framework.

2011-06-27 Thread Maithily
Hi, I am new to this mailing list and am facing a problem using the "minlength" field validation provided by the Struts Validation Framework. Struts version - 1.2.4 Application Server - Apache Tomcat (5.5) I have configured the following in my validation.xml file -