Hi, does anyone use DojoMenu class?
I've got some problem with it. I use it for implementing interactive
tree panel.
The problem is:
When the tree is rendered once, it works all right, but when I
collapse/expand some node,
it stopps working, the node I colapse/expand and all nodes below starts
behaving like usual links, context menu disappears.
I mean situation when I expand all nodes on creating, when the tree is
collapsed at the beginning, just the node rendered at the beginning
works fine.
The situation is the same when I repaint my tree.
It's piece of code from my treeNode rendering component:
AjaxLink nodeActivationLink;
add(nodeActivationLink);
Label nodeLabel = new Label("node", linkLabel);
nodeActivationLink.add(nodeLabel);
DojoMenu menu = new DojoMenu("menu");
nodeLabel.add(new DojoContextualMenuBehavior(menu));
I appreciate any suggestion.
Regards,
Wojtek
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]