1 Reply Latest reply on Jul 4, 2013 1:38 PM by blabno

    rich:tree  oncomplete ignored when toggling?

    hoveran211

      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')"

                                                                                                      >