You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ralf Hauser (JIRA)" <ji...@apache.org> on 2007/04/22 12:05:42 UTC

[jira] Commented: (STR-1946) Document how to cite the validated value in the error?

    [ https://issues.apache.org/struts/browse/STR-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40874 ] 

Ralf Hauser commented on STR-1946:
----------------------------------

enhancing the idea in the commons validator with a Filter-vs-trustedInput concept http://issues.apache.org/jira/browse/VALIDATOR-228

> Document how to cite the validated value in the error?
> ------------------------------------------------------
>
>                 Key: STR-1946
>                 URL: https://issues.apache.org/struts/browse/STR-1946
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1 Final
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Ralf Hauser
>         Assigned To: Struts Developers
>            Priority: Minor
>
> 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?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.