x:treeselectionlistener is for tree. Tree2 does not use that (as you
have probably figured out already.) Tree2 can use an action listener
to indicate which node was selected (similar to what you were trying.)
Do you have it working now? It sounded like from your last message
that you are ok with tree2 and node selection now.
sean
On Fri, 18 Mar 2005 19:13:47 +0100, Borja Mart�n <[EMAIL PROTECTED]> wrote:
> sorry, but the problem was that I had some html without the f:verbatim
> tags and that's why the actions weren't called
>
> Borja Mart�n wrote:
>
> > hi,
> > I was trying to get the tree2 working and have found that the
> > TreeSelectionListener tag (x:treeselectionlistener) doesnt work, it
> > says the component isnt a component tree. I tried to insert an
> > actionListener like this #{sections.select} and created the method
> > public void select(ActionEvent ae){..} in the sections bean, but it
> > isnt called
> > which should be the way to get the selected node using the tree2
> > component?
> >
> > thanks in advance
> >
>
>