You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2006/07/20 23:02:14 UTC

[jira] Commented: (TOBAGO-95) tc:tree getting node

    [ http://issues.apache.org/jira/browse/TOBAGO-95?page=comments#action_12422491 ] 
            
Udo Schnurpfeil commented on TOBAGO-95:
---------------------------------------

Did you try to access to the state of the tree? Like:
state="#{controller.treeState}"

the class
org.apache.myfaces.tobago.model.TreeState
will provide some information of the tree, e.g. selection

Hope that helps

Udo

> tc:tree getting node
> --------------------
>
>                 Key: TOBAGO-95
>                 URL: http://issues.apache.org/jira/browse/TOBAGO-95
>             Project: MyFaces Tobago
>          Issue Type: Wish
>          Components: Core
>    Affects Versions: 1.0.7
>         Environment: windows 2003 server, JBoss 4.04 GA
>            Reporter: Mateusz
>
> I'm trying to get selected node, it's necessary for further operations in my ManagedBean. I was trying to put my own ActionListener in tc:tree tag, but it doesn't work. I was also trying to get it in "processAction(ActionEvent event)", but it also failed. Can anyone document how it can be done, because me and my friends have no idea.
> Best Regards
> Mateo

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira