Hi Forum,
I've tried to get the nodeSelectListener in an Tree to work, but with no success.
My Configuration
Server:Glassfish V2
JSF-Impl:MyFaces V1.1.6 (We have to take this Version :-()
RichFaces: 3.1.6 (The last with JSF 1.1 support!!!)
Here my view
....
<h:form>
<h:panelGrid columns="2" width="100%" columnClasses="col1,col2">
<rich:tree id = "tree"style="width:300px" nodeSelectListener="#{TreeLibrary.processSelection}"
reRender="selectedNode" ajaxSubmitSelection="true"
value="#{TreeLibrary.rootNode}" var="item">
</rich:tree>
<h:outputText escape="false" value="Selected Node: #{TreeLibrary.nodeTitle}" id="selectedNode" />
</h:panelGrid>
</h:form>
....
public void processSelection(NodeSelectedEvent event) {
log.info("Test");
}
javax.el.MethodExpression
(signature must match void nodeSelectListener(org.richfaces.event.NodeSelectedEvent))