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

Validation messages are too hard wired to the built-in set of translators and validators

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.0
    • 4.2
    • Framework
    • None

    Description

      Because validation messages are defined in terms of a properties file, there isn't an avenue for introducing new, localized, messages (that can then be overridden).

      Ideally, there should be a configuration point that allows new messages to be defined; the ValidationMessages interface should be aware of these messages and search them. Assuming the configuration was searched before ValidStrings.properties, this would also provide an easy way to override a default validation message throughout the application.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: