On Thu, 01 Nov 2012 09:03:06 -0200, membersound <memberso...@web.de> wrote:
Hi,
Hi!
When I create a BeanModel, how can I add results eg from a method that is not contained in the Entity-Object with which the BeanModel has been created?
You can't pass the result itself, but you can implement a PropertyConduit that receives the object being shown and computes the BeanModel property value for it using any logic you want. The key here is implementing PropertyConduit yourself (it's easy, and if you're just showing the object you can provide an empty implementation to its set() method) and passing it to the BeanModel.add() method.
-- Thiago H. de Paula Figueiredo --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org