Oops.. sorry, Gunnar. Thiago is right. You don't need PropertyConduit. We need PropertyConduit if we add non-property column on Grid.
So, you just need this on setupRender: void setupRender() { beanModel = beanModelSource.createEditModel(<your bean class>, messages); beanModel.add("<your user type property name>"); } Best Regards, Yohan On 1/10/11, Thiago H. de Paula Figueiredo <thiag...@gmail.com> wrote: > On Mon, 10 Jan 2011 06:13:33 -0200, Gunnar Eketrapp > <gunnar.eketr...@gmail.com> wrote: > >> Thanks Yohan ! >> I now got it to work with my Money type in the grid + sorting. >> I created a TransactionAmountPropertyConduit as you advised ... >> But it's less then ideal to have to write a >> <Entity><Field>PropertyConduit class every time you use an own defined >> type in a grid. > > You don't need to write your own PropertyConduit unless the value you want > to show or edit isn't a a property, as you have the PropertyConduitSource > to do that. It's exactly the same service that is used by BeanModelSource > to create the 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org