On Tue, 04 Oct 2011 00:09:18 -0300, Norman W. Franke <nor...@myasd.com> wrote:

Will that work for a data model consisting of Object[]?

It'll work for any class, but of course only for properties, and Object[] has only the "class" one (read-only). For anything not based on properties, such as displaying or editing maps, you'll need to create your own PropertyConduit implementations and add them to a BeanModel through BeanModel.add(). Writing your own BeanModel implementation is also a valid approach. I just guess it would take more code to implement the same features as using a BeanModel provided by BeanModelSource and adding properties with custom PropertyConduit's.

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