1 Reply Latest reply on Apr 10, 2008 8:52 AM by socken

    switchType=

      Hi all

      I have a rich:tree component which works fine with switchType="client" or "server". As soon as I switch to "ajax", the branches are not opened when I click on it. I can click no a branch and reload the page (F5), so my guess is, that something goes wrong with the ajax request.

      Also, reRendering is not working. Same thing here with reloading the page.

      Any ideas??

      Here's some of the code:

      <h:form>
       <rich:tree id="skillTree" style="width:300px" NodeSelectListener="#{skillTree.processSelection}"
      reRender="selectedNode" ajaxSubmitSelection="true" value="#{skillTree.treeNode}" var="item">
       </rich:tree>
      </h:form>
      
      <h:outputText value="Selected: #{skillTree.nodeTitle}" id="selectedNode" />
      


        • 1. Re: switchType=

          In fact, I just realized there's something else :

          <a4j:outputPanel id="panel">
           <h:outputText value="Selected: #{skillTree.nodeTitle}" id="selectedNode" />
          </a4j:outputPanel>
          
          <a4j:commandButton value="refresh" reRender="skillTree,panel"/>


          When I click on the refresh button, it should reload the panel, right!? Well, this too only works after hitting F5...


          I'm really confused, where should I start looking!?