Spring MVC uses Commons Validator. I believe you're looking for the
maxlength validator.
<field property="name" depends="required,maxlength">
<arg0 key="customer.name"/>
<arg1 name="maxlength" key="${var:maxlength}" resource="false"/>
<var><var-name>maxlength</var-name><var-value>30</var-value></var>
</field>
Matt
On Thu, Nov 20, 2008 at 2:52 AM, Developeryours <[EMAIL PROTECTED]> wrote:
>
> Hi matt,
>
> thanx for nice reply
>
> I am using spring MVC..i couldn't find examples for length validation.. i
> having idea abt "valang" validator..but i dont know how to use...can u give
> me step to do....
>
>
> Thanks
> --
> View this message in context:
> http://www.nabble.com/length-validation-tp20596764s2369p20598746.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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]