[
https://issues.apache.org/jira/browse/TAPESTRY-2116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565376#action_12565376
]
Davor Hrg commented on TAPESTRY-2116:
-------------------------------------
I tried doing it early but that does not work because
code that replaces field access does not replace field
access for methods that are added via transformation.
Making it take care of field access for added methods
could cause far more problems.
Hence the choice of doing it later and taking care of calling
write_method or read_method if there is one.
> @Retain and @Persist should generate a setter and/or getter for the decorated
> field
> -----------------------------------------------------------------------------------
>
> Key: TAPESTRY-2116
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2116
> Project: Tapestry
> Issue Type: New Feature
> Components: tapestry-core
> Reporter: Sven Homburg
> Fix For: 5.0.10
>
> Attachments: TAPESTRY-2116.patch
>
>
> sometime code looks incredible unclear, because its peppered with getter and
> setter methods.
> i think it should be ease to extend the Persist- and RetainWorker for doing
> that job.
> @Retain(getter=true, setter=true)
> as an exmaple
--
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]