0 Replies Latest reply on Nov 23, 2012 8:26 AM by adryano.asilva

    nodeSelectListener doesn't work rich tree into rich modalPanel

    adryano.asilva

      I have a rich tree into rich modalPanel. I need to use the event nodeSelectListener, but it doesn't work.

       

      <ui:define name="custom">

      <rich:modalPanel id="apurarConcluintes2" width="650" height="580" autosized="false" resizeable="false"  onShow="initLista();"  >

      <div style="height: 580px;text-align: left;vertical-align: top;">

      <h:form prependId="false" id="form2">

      <div style="width: 100%;text-align: center;padding:5px 0 0 0;">

      <h:panelGrid>

      <h:panelGroup>

      <div style="width: 500px;height: 330px;overflow: auto;background: #EEEEE0;border: 1px solid #828282;text-align: left;">

      <a4j:outputPanel id="panelTreeConcluintes">

      <rich:tree id="treeConcluintes" process="form2" switchType="client" ajaxSubmitSelection="true" nodeSelectListener="#{alunoMB.selecionaNodoConcluinte}">

      <rich:treeNodesAdaptor id="concluinte" nodes="#{alunoMB.listaConcluintesDTO}" var="c">

      <rich:treeNode icon="/fpc_img/people.gif" iconLeaf="/fpc_img/warning.gif">

      <h:outputText value="#{c.alunoTurmaED.alunoED.nmAluno}" style="cursor: pointer;"/>

      </rich:treeNode>

      ....

       

      How to fix?

       

      Thanks and sorry for my bad english