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 2004/01/25 08:31:52 UTC

DO NOT REPLY [Bug 26410] New: - Document how to cite the validated value in the error?

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26410

Document how to cite the validated value in the error?

           Summary: Document how to cite the validated value in the error?
           Product: Struts
           Version: 1.1 Final
          Platform: Other
               URL: http://jakarta.apache.org/struts/userGuide/dev_validator
                    .html
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Validator Framework
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: hauser@acm.org


When for example having a form with 3 fields to enter e-mails, I do not want to
say in the error message that field #3 is wrong, but I want to say that
"john@doe@domain.com" is invalid.

Unfortunately the documentation at the above URL nor
http://jakarta.apache.org/commons/dtds/validator_1_1.dtd say anything about this.

One learns about the possiblity to access the value of a variable by example
(<arg1 key=key="${var:max}" />).
Therefore, please document whether it is possible to replay the validated field
value also!

Is <arg1 key="${field}" /> it?

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