I m trying to make a tree view in my JSF page using <rich:tree tag. This is working in Firefox 3.0 but not in IE 6.0. Using SOP's (System.out.println) i could find out that while executing in IE, ' nodeSelectListener="#{simpleTreeBean.processSelection}" ' doesn't works. i.e. method processSelection is not being called. Plz. help.
Here is the code:
<h:form>
<h:panelGrid columns="2" width="100%" columnClasses="col1,col2">
<h:form id="treeform">
<rich:tree style="width:300px" nodeSelectListener="#{simpleTreeBean.processSelection}"
reRender="selectedNode2" ajaxSubmitSelection="true" switchType="client"
value="#{simpleTreeBean.treeNode}" var="item">
</rich:tree>
<rich:panel>
<a4j:outputPanel ajaxRendered="true">
<!--<h:outputText value="#{panelMenu.current} selected" id="current"/>-->
<h:dataTable id="selectedNode2" value="#{simpleTreeBean.topicsList}" var="record" rendered="true">
<h:column>
<h:commandLink>
<h:outputText value="#{record.topicSubject}" />
</h:commandLink>
</h:column>
</h:dataTable>
</a4j:outputPanel>
</rich:panel>
</h:form>
</h:panelGrid>
</h:form>
Hi, macmohanin
nodeSelectListener works fine on our side.
Delete nested h:form from your example and try it.