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
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
>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
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 -
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
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:
>
{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)
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 -
8 matches
Mail list logo