Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-1946

Document how to cite the validated value in the error

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.1.0
    • Future
    • Documentation
    • None
    • Operating System: other
      Platform: Other
    • 26410

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            hauser@acm.org Ralf Hauser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: