No ValidatorAction called maxLength?
This is a basic validator why would it not be able to find it? I can however use the required validator. Here is the error : No ValidatorAction called maxLength found for field name Here is the code from my validator.xml form name=/admin/UpdateDashboard field property=name depends=required,maxLength arg0 key=app.dashboard.name / arg1 name=maxLength key=${var:maxLength} resource=false / var var-namemaxLength/var-name var-value150/var-value /var /field field property=description depends=maxLength var var-namemaxLength/var-name var-value1000/var-value /var arg0 key=app.dashbaord.description / arg1 name=maxLength key=${var:maxLength} resource=false / /field /form - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: No ValidatorAction called maxLength?
Found the error. In the version of Struts in Action it has the validators listed as maxLength when it should be maxlength. Nathan On Jan 28, 2004, at 1:56 PM, Nathan Maves wrote: This is a basic validator why would it not be able to find it? I can however use the required validator. Here is the error : No ValidatorAction called maxLength found for field name Here is the code from my validator.xml form name=/admin/UpdateDashboard field property=name depends=required,maxLength arg0 key=app.dashboard.name / arg1 name=maxLength key=${var:maxLength} resource=false / var var-namemaxLength/var-name var-value150/var-value /var /field field property=description depends=maxLength var var-namemaxLength/var-name var-value1000/var-value /var arg0 key=app.dashbaord.description / arg1 name=maxLength key=${var:maxLength} resource=false / /field /form - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: No ValidatorAction called maxLength?
Nathan, The name is case-sensitive. Use maxlength instead of maxLength. Regards, Richard -Original Message- From: Nathan Maves [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 12:56 PM To: Struts Users Mailing List Subject: No ValidatorAction called maxLength? This is a basic validator why would it not be able to find it? I can however use the required validator. Here is the error : No ValidatorAction called maxLength found for field name Here is the code from my validator.xml form name=/admin/UpdateDashboard field property=name depends=required,maxLength arg0 key=app.dashboard.name / arg1 name=maxLength key=${var:maxLength} resource=false / var var-namemaxLength/var-name var-value150/var-value /var /field field property=description depends=maxLength var var-namemaxLength/var-name var-value1000/var-value /var arg0 key=app.dashbaord.description / arg1 name=maxLength key=${var:maxLength} resource=false / /field /form - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]