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=37937>.
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=37937


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
          Component|Unknown                     |Action
         Resolution|                            |WORKSFORME




------- Additional Comments From [EMAIL PROTECTED]  2006-02-11 17:13 -------
It would be better if you asked question like this on the user list, rather 
than opening a bug report - also you don't show your validation.xml which 
makes it difficult to help. Lastly there is a working example of this in the 
struts-examples webapp - which is included in the binary distribution.

The problem is almost certainly in how you have configured either the argument 
or variable for the field - you should have something like the following:

  <field property="foo" depends="required,minlength,maxlength">
     <arg key="foo.label" />
     <arg name="minlength" key="${var:minlength}" resource="false" 
position="1" />
     <arg name="maxlength" key="${var:maxlength}" resource="false" 
position="1" />
     <arg key="foo.label" />
     <var>
        <var-name>minlength</var-name>
        <var-value>10</var-value>
     </var>
     <var>
        <var-name>maxlength</var-name>
        <var-value>99</var-value>
     </var>
  </field>

Closing as WORKSFORME

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to