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/10/16 10:39:37 UTC

[jira] Resolved: (TOBAGO-143) tc:tree does not invoke an actionevent

     [ http://issues.apache.org/jira/browse/TOBAGO-143?page=all ]

Udo Schnurpfeil resolved TOBAGO-143.
------------------------------------

    Resolution: Invalid

Please use a facet to add a action to every node like:

<f:facet name="treeNodeCommand">
    <tc:link action="#{client.selectNode}" /> 
</f:facet>


> tc:tree does not invoke an actionevent
> --------------------------------------
>
>                 Key: TOBAGO-143
>                 URL: http://issues.apache.org/jira/browse/TOBAGO-143
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.8
>         Environment: IE 6, Windows XP, Tomcat 5.5
>            Reporter: Carsten Dimmek
>
> I tried to register an action listener to the tc:tree component but the action method is never called.
> <tc:tree value="#{settingsBean.tree}" id="settingsTree"
>      state="#{settingsBean.treeState}" idReference="userObject.id"
>     nameReference="userObject.name" showIcons="true"
>    showJunctions="true" showRootJunction="true" showRoot="true"
>   selectable="false" mutable="false"
> actionListener="#{settingsBean.refreshView}" />
> public class SettingsBean {
> ------------snip------------
> 	public void refreshView(ActionEvent event) {
> 	    System.out.println("test");
> 	}
> ------------snip------------
> }

-- 
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