tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <...@tapestry.apache.org>
Subject [jira] Created: (TAPESTRY-2425) Tapestry annotations such as @Validate, @DataType, etc. should be applicable to fields as well as accessor methods
Date Wed, 21 May 2008 16:37:55 GMT
Tapestry annotations such as @Validate, @DataType, etc. should be applicable to fields as well
as accessor methods
------------------------------------------------------------------------------------------------------------------

                 Key: TAPESTRY-2425
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2425
             Project: Tapestry
          Issue Type: New Feature
          Components: tapestry-core, tapestry-ioc
    Affects Versions: 5.0.11
            Reporter: Howard M. Lewis Ship


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message