You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2005/05/11 15:46:45 UTC

DO NOT REPLY [Bug 34864] New: - Message argument problem with several checks

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34864>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34864

           Summary: Message argument problem with several checks
           Product: Struts
           Version: 1.2.6 Beta
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Validator Framework
        AssignedTo: dev@struts.apache.org
        ReportedBy: xpoinsard@openpricer.com


I am using validator to do three checks : required,maxlength and minlength
The checks are done, but the error message for minlength doesn't report the
desired min length value and reports "null" as desired min length.
Here is my validator XML : 

<field property="password" depends="required,maxlength,minlength">
 <arg0 key="user.users.password"/>
 <arg1 name="maxlength" key="${var:maxlength}" resource="false"/>
 <var><var-name>maxlength</var-name>
  <var-value>30</var-value>
 </var>
 <arg2 name="minlength" key="${var:minlength}" resource="false"/>
 <var>
  <var-name>minlength</var-name>
  <var-value>6</var-value>
 </var>
</field>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org