On Fri, 23 Dec 2011 10:49:53 -0200, angelochen <angelochen...@yahoo.com.hk> wrote:

Hi,

Hi!

I have an entity named 'detail', if I use this:

    model = beanModelSource.createDisplayModel(Detail.class, _messages);
this will not include the item field, how to add this item field to the
model? or just a field of item? thanks,

Use the add() method of BeanModel: beanModel.add("item.name");

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