Tapestry
  1. Tapestry
  2. TAPESTRY-2425

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

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.11
    • Fix Version/s: 5.0.12
    • Component/s: tapestry-core, tapestry-ioc
    • Labels:
      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development