commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alluri, Ramakrishna" <>
Subject Arg1 not being replaced in validator?
Date Tue, 21 Mar 2006 18:55:47 GMT
I am using struts common validator for validating required, minlength
and maxlength for the fields
However, I see that arg1 is not being replaced with the value. Here is
the example:
<field property="solicitationNbr" depends="required,integer,minlength">

<arg0 key="solicitationNbr"/>

<arg1 key="${var:minlength}" name="minlength" resource="false"/>




However, I get the following message

solicitationNbr can not be less than null characters. Any idea why {1}
is not being substituted with number '12' ?

This message contains PRIVILEGED and CONFIDENTIAL
information that is intended only for use by the 
named recipient. If you are not the named recipient,
any disclosure, dissemination, or action based on 
the contents of this message is prohibited. In such
case please notify us and destroy and delete all 
copies of this transmission.  Thank you.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message