Hi,
I have defined a rich:tree. Both seletionType and toggleType are "ajax".
I have also set onbegin, onbeforedomupdate and oncomplete.
When I do node selection, onbegin, onbeforedomupdate and oncomplete are fired.
However when I do toggling, only onbegin is fired. The other two are ignored?
Can anyone shed some light?
Thanks,
Ran
<rich:tree value="#{rqmtsBean.rootNode}"
var="node"
rowKeyConverter="org.richfaces.IntegerSequenceRowKeyConverter"
toggleType="ajax"
toggleListener="#{rqmtsBean.toggleListener}"
selectionType="ajax"
selectionChangeListener="#{rqmtsBean.selectionChanged}"
onbegin="#{rich:component('popupPleaseWait')}.show();"
oncomplete="#{rich:component('popupPleaseWait')}.hide();"
onbeforedomupdate="alert('before dom update')"
>
Try "onnodetoggle" attribute.