This is what I did, comments are welcome.
On each row, I have an "action's" cell (actions like "save" or "delete").
That cell is represented by a class that extends Panel. Its constructor
takes an id and a PropertyModel as arguments. The PropertyModel allows me to
get the tree node in that row.
final DefaultMutableTreeNode node =
((DefaultMutableTreeNode)inputModel.getTarget());
final MyObject obj = (MyObject)node.getUserObject();
Please let me know if there is a better way. Thanks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/editable-tree-table-make-an-editable-row-rather-than-an-editable-cell-tp4655768p4655859.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]