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

[jira] Issue Comment Edited: (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_41956 ] 

paul4christ79 edited comment on STR-1946 at 12/1/07 7:13 PM:
-------------------------------------------------------------

This issue depends upon a Validator enhancement. Marking as FUTURE until that enhancement comes to be.

      was (Author: paul4christ79):
    This issue depends upon Validator 1.4
  
> 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: Website
>    Affects Versions: 1.1.0
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Ralf Hauser
>            Priority: Minor
>             Fix For: Future
>
>
> 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.