On Tue, 19 Mar 2013 11:17:22 -0300, Lance Java <lance.j...@googlemail.com>
wrote:
So without the custom model, you can't use a HashMap with the grid
Correct!
But then a logical question is how to set up this model without an
actual
bean?
BeanModel is an interface, so implement it ;)
There's no need for that.
model = beanModelSource.createDisplayModel(Set.class, null);
Would this work?
No, createDisplayModel assumes that the class is a bean type. It uses the
getters to create a BeanModel.
Actually, it would partially work: it would returns a working BeanModel
implementation so that you can add properties (PropertyModel instances) to
it.
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org