On Thu, 09 Dec 2010 14:18:18 -0200, Kiss Izolda <izo...@freemail.hu> wrote:
Dear Tapestry Users,
Hi!
In my former application using Tapestry 5.1.0.5, I have used a feature,
that seems not to work in Tapestry 5.2.4
When setting a list of "Project" objects as a source of a Grid, the
return value of the User.toString() is diplayed instead of the
User.getName() and the column has no sort icon.
public class Project {
@DataType(value = "consultant.name")
private User consultant;
That's strange. This is not how this annotation works. As far as I know,
it was never meant to be used to indicate which property should be output
instead of which data type Tapestry should look for viewing and editing.
--
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