Tapestry annotations are themselves annotated to indicate where they can be
used.
On Apr 11, 2011 7:26 AM, "Thiago H. de Paula Figueiredo" <thiag...@gmail.com>
wrote:
> On Mon, 11 Apr 2011 11:23:02 -0300, littlejoysoftware
> <littlejoysoftw...@me.com> wrote:
>
>> I'm working through the examples in Tapestry 5: Building Web
>> Applications.
>>
>> I am using Tapestry 5.2.4.
>>
>> I have a class Celebrity with fields: lastName, firstName, dateOfBirth,
>> etc. and I've used the @Property annotation with the expectation that
>> Tapestry will generate public getters and setters.
>
> @Property only works in Tapestry-managed classes: pages, components,
> mixins. Project Lombok (http://projectlombok.org/) provides something
> similar for all classes.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>