On Fri, 13 May 2011 10:11:19 -0300, Clément Uster <clement.us...@gmail.com> wrote:

Hi everyone,

Hi!

Let's imagine I have a component (coming from a component library) that has an "index" property. So index has the @Property annotation.

I want to create a component that extends the previous component.

Extending components is allowed but not recommended.

And I want to test "index"'s value to change component's behaviour... how
can I do this ? As long as "index" is private from the first component and there is no
"getIndex()" method (thanks to @Property).

Use getter and setter in the base component instead of @Property.

--
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

Reply via email to