The separate @Property annotation still has issues in combination with @Persist
@Persist replaces all write access with a write_method... and the new setter uses the field so persist misses it... adding claimField seemed to fix thing, but did not, because the values was simply retained... Davor Hrg On Feb 4, 2008 8:54 AM, Davor Hrg <[EMAIL PROTECTED]> wrote: > :):):):) > > haven't noticed it :D :D > > since it is an JIRA issue, > I'll just create a patch since I belive also that this should alerady > be part of the core > > Davor Hrg > > > > On Feb 3, 2008 9:46 PM, Kevin Menard <[EMAIL PROTECTED]> wrote: > > I don't have anything important to add here. I just thought it funny that > > Davor pointed Sven to his own article. > > > > Davor, maybe you could update the article with your contributions? > > > > -- > > Kevin > > > > > > On 2/3/08 12:26 PM, in article > > [EMAIL PROTECTED], "Davor Hrg" > > > > <[EMAIL PROTECTED]> wrote: > > > > > 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) <[email protected]> > > > 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: [EMAIL PROTECTED] > > >> For additional commands, e-mail: [EMAIL PROTECTED] > > >> > > >> > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
