0 Replies Latest reply on Oct 9, 2007 9:34 AM by Igor Laberov

    Re-rendering of tree component

    Igor Laberov Newbie

      Hi,
      In my application some tree component should be rerendered after user have selected some value from suggestion box, but nothing happens.

      More detailed explanation:
      The user selects (or types) value from suggestion box, then presses the button, which action updates model and should rerender tree component and some other components also. However, this tree component doesn't rerendered at all (while other components, like outputText or dataTable are rerendered pretty well).
      Do you know what may stop tree component from rerendering?
      Thank you,
      Igor.

      Here some of relevant code:
      <h:inputText value="#{tree_bean.searchStr}" id="ou_search" />
      <rich:suggestionbox height="100" width="100" for="ou_search"
      suggestionAction="#{tree_bean.findOu}" var="item" frequency="1" >
      <h:column>
      <h:outputText value="#{item}" />
      </h:column>
      </rich:suggestionbox>


      <h:commandButton id="srch" value="#{messages.search}" action="#{tree_bean.selectNode}"
      reRender="treeComp,main_form:data, dummy" ignoreDupResponses="true" />


      <a4j:region>
      <h:outputText value="#{tree_bean.treeObj.rowKey}" id="dummy" />
      <rich:tree style="width:150px" switchType="ajax"
      ajaxSubmitSelection="true" binding="#{tree_bean.treeObj}"
      ajaxSingle="false"
      nodeSelectListener="#{filter_bean.nodeSelectActionListener}"
      value="#{tree_bean.data}" id="treeComp"
      stateAdvisor="#{act_ou_tree_advisor}"
      reRender="main_form:data, search_form:search_fields"
      var="item" nodeFace="#{item.type}"
      >