Using the Validator Framework with Struts
Subject:   Doubt on error messages
Date:   2006-07-04 00:25:28
From:   NewtoStruts
This is my code....
<field property="username" depends="required,minlength">
<arg0 key="advregBean.username"/>
<arg1 name="minlength" key="${var:minlength}" resource="true"/>
The error when there is no minlength is
Username cannot be less than ???en_US.3??? characters.
How do I get error
Username cannot be less than 3 characters.