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
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.
2 matches
Mail list logo