tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davor Hrg" <hrgda...@gmail.com>
Subject Re: [jira] Created: (TAPESTRY-2116) @Retain and @Persist should generate a setter and/or getter for the decorated field
Date Sun, 03 Feb 2008 17:26:51 GMT
it is trivial to make a third @Property worker
that adds getter and setter ...
so you have

@Persist @Property private String name;


I ve made such worker for my self easily following this wiki article:
http://wiki.apache.org/tapestry/Tapestry5ManipulateClassesAtRuntime

with difference ... that I used

configuration.add("GridRowBean", new GridRowBeanWorker(),
"after:Inject*","before:Persist");
instead of:
configuration.add("GridRowBean", new GridRowBeanWorker(), "after:Inject*")


Davor Hrg


On Feb 3, 2008 10:48 AM, Sven Homburg (JIRA) <dev@tapestry.apache.org> wrote:
> @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
>
>
> 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: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>

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


Mime
View raw message