I'm a little bit confused. You want to use the datatable component and as Model for it you use the DefaultTreeModel made with a TreeNode.
What do you want exactly?
A datatable? If yes, then use a DataModel e.g. ListDataModel.
A tree (e.g. tree2)? If yes, then use a TreeModel.
Maybe therefore you have the problem. But I'm not sure if understand you correctly.
Hope, this will help.
2005/12/22, Sébastien Marin <[EMAIL PROTECTED]>:
Hello, i would like to use the Datatable Componant.
When i try to display it on a JSP, i have an error :
"Null child not allowed"
But when i look at the structure of my objet, there is no null child.
I return a "DefaultTreeModel" made with a TreeNode.
Thank for your help.
|Cordialement, Sébastien MARIN.|
--
mfg Hans Sowa
mailto: [EMAIL PROTECTED]

