[
https://issues.apache.org/jira/browse/TAP5-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Howard M. Lewis Ship closed TAP5-1623.
--------------------------------------
Resolution: Invalid
Assignee: Howard M. Lewis Ship
Your example is broken. Setter methods return void, not String.
> @Parameter and @Property mutually exclusiv?
> -------------------------------------------
>
> Key: TAP5-1623
> URL: https://issues.apache.org/jira/browse/TAP5-1623
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.2.6
> Reporter: Jens Breitenstein
> Assignee: Howard M. Lewis Ship
> Priority: Minor
>
> in case a @parameter annotation is used in conjunction with @property the
> property setter is never called.
> the framework should either support it or reject such a combination of
> annotations.
> sample:
> @Property(read = true, write = false)
> @Parameter(required = true)
> private String _myParam;
> // ---->> NEVER CALLED
> public void String setMyParam(final String param)
> {
> _myParam = param;
> // do more...
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira