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

Tapestry annotations such as @Validate, @DataType, etc. should be applicable to fields as well as accessor methods

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.11
    • 5.0.12
    • tapestry-core, tapestry-ioc
    • None

    Description

      We should follow Hibernate's example (uggh) of assuming the property name matches the field name; we could then add field annotations to the search path for property annotations (that already includes searching the getter and the setter).

      This would make Tapestry + Groovy that much nicer, as validation and other annotations could go directly on the fields.

      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: