myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <andrew.rw.robin...@gmail.com>
Subject Re: tree2 expand once again
Date Fri, 13 Jul 2007 14:48:20 GMT
Tree2 uses node indexes, not IDs for expanding/collapsing. Please
search the archives for more information.

On 7/13/07, Michał 'Gandalf' Stawicki <stawicki@gmail.com> wrote:
> 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