i have a similar problem.
Code:
<ice:tree id="tree"
value="#{Tree.model}"
var="item"
hideRootNode="#{false}"
hideNavigation="#{false}">
<ice:treeNode>
<f:facet name="content">
<ice:panelGroup style="display: inline; #{node.userObject.selected ? 'background-color: white' : 'background-color: black'}">
<ice:commandLink
actionListener="#{item.userObject.selectNode}">
<ice:outputText value="#{item.userObject.text}" />
<f:param name="id" value="#{item.userObject.id}"/>
<f:ajax execute="@this" render="@all" />
</ice:commandLink>
</ice:panelGroup>
</f:facet>
</ice:treeNode>
</ice:tree>
Code:
public void selectNode(ActionEvent action){
...
}
but selectNode method is never executed. i use ICEfaces 2.0 beta1, with Netbeans, Glassfish 3.0.1. I followed tutorial on tree selection, but it doesn't work.