[Dojo-interest] tree loader questions....

christopher taylor christopher.paul.taylor at gmail.com
Mon Jan 29 16:29:56 MST 2007


Hi everyone,

So I'm using the TreeLoadingController and the TreeRPCController and
while both of them have preventCache disabled on default
(preventCache: true) it looks, to me, like that functionality isn't
working for FireFox2 and IE6+.

I'm trying to get a TreeNode to load/reload all of it's children from
the server (via JSON) on these occasions:

A) when the user clicks to expand
B) when new nodes are added to that level of the tree
C) when a node is removed from that level of the tree

I'd like for a TreeNode to remove all it's children when:

A) the user clicks to collapse

so my next question is, is this functionality already in a tree
controller? if so which one?

if the functionality isn't in a tree controller, am i going to have to
extend a tree controller to provide my own customized solution? and if
i have to write a custom controller, will which one should i extend
and modify?

thanks for your help,

ct


More information about the Dojo-interest mailing list