1 Reply Latest reply on Aug 13, 2009 5:52 PM by tom til

    javascript AFTER adviseNodeOpened on rich:tree

    tom til Newbie

      <h:form id="form2">
              <rich:tree 
              nodeSelectListener="#{SocietiesManagementAction.processSelection}" 
                      switchType="client" 
                      adviseNodeOpened="#{SocietiesManagementAction.adviseNodeOpened}"  
                      ajaxSubmitSelection="true" 
                      value="#{SocietiesManagementAction.treeNode}" 
                      var="society" 
                      ajaxKeys="#{null}"
                       >
                      <rich:treeNode ondblclick="javascript:remotePage()">
                      <h:outputText value="#{society}" />
                      </rich:treeNode>
              </rich:tree>
      </h:form>





      Hi,
      I'm trying to execute on my rich:TreeNode javascript AFTER adviseNodeOpened
      how can i do?

        • 1. Re: javascript AFTER adviseNodeOpened on rich:tree
          tom til Newbie

          i found and solve all my problem
          maybe can help someone...


               


          <rich:tree 
               switchType="client" 
               adviseNodeOpened="#{SocietiesManagementAction.adviseNodeOpened}"  
               adviseNodeSelected="#{SocietiesManagementAction.adviseNodeOpened}"
               ajaxSubmitSelection="true" 
               value="#{SocietiesManagementAction.treeNode}" 
               var="society" 
                >
               <rich:treeNode eventsQueue="queue"  >
                    <h:outputText value="#{society}" />
                    <a:support event="onclick" reRender="form3" actionListener="#{SocietiesManagementAction.showSociety(society)}" />
               </rich:treeNode>
          </rich:tree>