Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1310

The Enum ValueEncoder should be case insensitive

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.2.2
    • 5.3
    • tapestry-core
    • None

    Description

      Currently, the Enum ValueEncoder implementation converts the Enum instance to its name (which is typically ALL_UPPER_CASE) and then converts that string back to an Enum instance.

      It would be better and more consistent with the rest of Tapestry if the name was lower cased (inside toClient() ), and was case insensitive (inside toValue()).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: