Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2077

Pattern-validator should be able to validate any object's string representation

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.3
    • Fix Version/s: 4.1.5
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      any

      Description

      The Pattern validator currently casts the object to be validated to String. I should rather call toString(). In conjunction with an appropriate Translator, this allows "string-like" domain-specific data-types to be validated easily.

        Attachments

          Activity

            People

            • Assignee:
              mschu Marcus Schulte
              Reporter:
              mschu Marcus Schulte
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: