Re: [Trinidad] How to set the tree rowKey to my entity's primary id?

2007-07-19 Thread Adam Winer
You'll need to implement a custom TreeModel, at which point you can define rowKey any way you want. -- Adam On 7/18/07, Tong Wang [EMAIL PROTECTED] wrote: I have my EJB3 entity with a one-to-many (parent-to-children) relationship with itself. I can construct a tree model from the entity. But

[Trinidad] How to set the tree rowKey to my entity's primary id?

2007-07-18 Thread Tong Wang
I have my EJB3 entity with a one-to-many (parent-to-children) relationship with itself. I can construct a tree model from the entity. But I like to know how I can set the tree rowKey so that it uses my entity's primary ID. Thanks.