myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michał 'Gandalf' Stawicki" <stawi...@gmail.com>
Subject tree2 expand once again
Date Fri, 13 Jul 2007 11:18:34 GMT
I would like to be able to expand a node upon clicking on commandLink
in the node.

The tree is bound to HtmlTree in backing bean, and the commandLink
have actionListener that does:

String [] path = treeBinding.getPathInformation(selectedNode.getIdentifier());
			//treeBinding.collapseAll();
			treeBinding.setNodeId(selectedNode.getIdentifier());
			treeBinding.expandPath(path);

but the tree2 won't obey me :( I'm doing everyting pretty much like in
irian examples.

Any hints how to solve this?


regards,

-- 
Michał Stawicki

stawicki@gmail.com
http://stawicki.jasliska.pl
Mime
View raw message