Hi!
> public interface AjaxTreeDataProvider {
> public List getRootNodes();
> public List getChildNodes(String nodeString);
> }
>
Shouldn't this be something like this:
> public interface AjaxTreeDataProvider {
> public List getRootNodes();
> public List getChildNodes(Object node);
> }
>
Where node is the instance of the parent?
And is it somehow possible to expand/collapse a tree node by default?
Wouldn't it be better to at least use tree2's TreeDataModel? Though, I
am not sure about that as I don't know the requirements of an Ajaxed
Tree. I just see the beauty of at least having the AjaxTree to be a
drop-in replacement for tree2.
Ciao,
Mario