[
https://issues.apache.org/jira/browse/TAPESTRY-1932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Howard M. Lewis Ship closed TAPESTRY-1932.
------------------------------------------
Resolution: Fixed
Fix Version/s: 5.0.11
> Extend PropertyModel to allow access to annotations associated with the
> property
> --------------------------------------------------------------------------------
>
> Key: TAPESTRY-1932
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1932
> Project: Tapestry
> Issue Type: Improvement
> Components: Framework
> Affects Versions: 5.0.6
> Reporter: Kevin Menard
> Assignee: Howard M. Lewis Ship
> Fix For: 5.0.11
>
>
> Oftentimes I have to work with beans that I do not have the source for.
> These beans come out of a library that is shared amongst other apps or out of
> a third party library. As such, annotating fields with the "Validate"
> annotation or the proposed "PropertyType" annotation (see TAPESTRY-1931) are
> not possible.
> What would be great is if the PropertyModel exposed these customizations via
> API additions. Then, during model customization, one could do something
> similar to the following:
> model.add("some_text_property").addValidation("required")
> Or:
> model.add("some_text_property").setType("longtext")
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]