On Tue, 15 Mar 2011 04:58:52 -0300, nquirynen
<nat...@pensionarchitects.be> wrote:
Hi,
Hi!
This works, but the problem is when defining the "row" attribute, I can't
use a variable of type "Object", as I won't be able to use this as
needed.
This is not entirely correct.
private Object row;
and
${row.action}
You can create a method in your page or component class to return it:
public String getAction() {
if (row instanceof Entity1) {
Entity1 entity1 = (Entity1) row;
return entity1.getAction();
}
...
}
--
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